def _sendTo(self, proto):
        super(QuitBox, self)._sendTo(proto)
        proto.transport.loseConnection()
Immediately call loseConnection after sending.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/amp.py/QuitBox._sendTo