def destroy(self):
        """Disconnects all pooled client objects."""
        while True:
            try:
                client = self.__pool.popleft()
                if isinstance(client, Client):
                    client.disconnect()
            except __HOLE__:
                break
dataset/ETHPy150Open thefab/tornadis/tornadis/pool.py/ClientPool.destroy