def close(self):
        # Disable access to the pool
        old_pool, self.pool = self.pool, None

        try:
            while True:
                conn = old_pool.get(block=False)
                if conn:
                    conn.close()

        except Empty:
            pass  # Done.
Return the name of the device.
dataset/ETHPy150Open kennethreitz/requests/requests/packages/urllib3/connectionpool.py/HTTPConnectionPool.close--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/snapcast.py/SnapcastDevice.name