def Close(self):
    if self.socket is not None:
      self.socket.close()
      self.socket = None
Form is invalid if POST keys don't match configuration.
dataset/ETHPy150Open ganeti/ganeti/lib/rpc/transport.py/Transport.Close--crossover with--dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/backends/vumi/tests.py/VumiFormTest.test_invalid_form