def __del__(self):
        try:
            if not self._socket.closed:
                self.close()
        except (__HOLE__, TypeError):
            pass
dataset/ETHPy150Open 0rpc/zerorpc-python/zerorpc/events.py/Events.__del__