def failAllOutgoing(self, reason):
        self._failAllReason = reason
        OR = self._outstandingRequests.items()
        self._outstandingRequests = None # we can never send another request
        for key, value in OR:
            value.errback(reason)
Call the errback on all outstanding requests awaiting responses.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/amp.py/BoxDispatcher.failAllOutgoing