def clientConnectionLost(self, connector, reason, reconnecting=0):
        if reconnecting:
            # any pending requests will go to next connection attempt
            # so we don't fail them.
            self._broker = None
            self._root = None
        else:
            self._failAll(reason)
Reconnecting subclasses should call with reconnecting=1.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/spread/pb.py/PBClientFactory.clientConnectionLost