code: def close_connection (self):
          
          if self.url_connection is not None:
              try:
                  self.url_connection.quit()
              except Exception:
                  pass
              self.url_connection = None
docs: Release the open connection from the connection pool.