public boolean remove(Connection connection) {
    return connections.remove(connection);
  }
Removes the first connection equal to the given connection from this manager.

@param connection the connection to remove
@return true if a connection was removed; otherwise false
geode-core/src/main/java/org/apache/geode/cache/client/internal/pooling/AvailableConnectionManager.java