def close(self):
        try:
            self._send.close()
        except AttributeError:
            pass
        try:
            self._recv.close()
        except __HOLE__:
            pass
        self._socket.close()
dataset/ETHPy150Open 0rpc/zerorpc-python/zerorpc/events.py/Events.close