code: def RebuildHttpConnections(http):
      
      if getattr(http, 'connections', None):
          for conn_key in list(http.connections.keys()):
              if ':' in conn_key:
                  del http.connections[conn_key]
docs: Rebuilds all http connections in the httplib2.Http instance.
  
      httplib2 overloads the map in http.connections to contain two different
      types of values:
      { scheme string:  connection class } and
      { scheme + authority string : actual http connection }
      Here we remove all of the entries for actual connections so that on the
      next request httplib2 will rebuild them from the connection types.
  
      Args:
        http: An httplib2.Http instance.