code: def close(self):
          
          if not self._closed:
              self._closed = True
              if self._pool is not None:
                  self._pool.close()
                  self._pool = None
docs: Shut down, closing any open connections in the pool.