def disconnect(self):
    'Disconnects all connections in the pool'
    all_conns = chain(self._available_connections, self._in_use_connections)
    for connection in all_conns:
        connection.disconnect()
Disconnects all connections in the pool
def disconnect(self):
    
    all_conns = chain(self._available_connections, self._in_use_connections)
    for connection in all_conns:
        connection.disconnect()