docs: def close(self):
          """Close all connections in the pool."""
          while 1:
              try:
                  con = self._cache.get(0)
                  try:
                      con.close()
                  except Exception:
                      pass
                  if self._connections:
                      self._connections.release()
              except Empty:
                  break