private static void removeReferenceToConnection(final HttpConnectionWithReference connection){
synchronized (REFERENCE_TO_CONNECTION_SOURCE) {
    REFERENCE_TO_CONNECTION_SOURCE.remove(connection.reference);
  }
}

private static void removeReferenceToConnection ( final HttpConnectionWithReference connection ) { synchronized ( REFERENCE_TO_CONNECTION_SOURCE ) { REFERENCE_TO_CONNECTION_SOURCE . remove ( connection . reference ) ; } }
removes the reference being stored for the given connection . this method should be called when the connection manager again has a direct reference to the connection .
