code: def disconnect(self):
          "Disconnects all connections in the pool"
          self._checkpid()
          all_conns = chain(self._available_connections,
                            self._in_use_connections)
          for connection in all_conns:
              connection.disconnect(f disconnect(self):
          "Disconnects all connections in the pool"
          self._checkpid()
          all_conns = chain(self._available_connections,
                            self._in_use_connections)
          for connection in all_conns:
              connection.disconnect()
docs: Disconnects all connections in the pool