def disconnect(self):
        if self._broker:
            self._broker.transport.loseConnection()
If the factory is connected, close the connection.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/spread/pb.py/PBClientFactory.disconnect