def disconnect(self):
    'Disconnects all connections in the pool.'
    for connection in self._connections:
        connection.disconnect()
Disconnects all connections in the pool.
def disconnect(self):
    
    for connection in self._connections:
        connection.disconnect()