def destroy(self):
        self._protocol.destroy()

        self._protocol = None
Method should be called to destroy the endpoint connection and will
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/network.py/LoopbackConnection.destroy