public void remove(String id) {
        nodeState.remove(id);
        connectingNodes.remove(id);
    }
Remove the given node from the tracked connection states. The main difference between this and `disconnected`
is the impact on `connectionDelay`: it will be 0 after this call whereas `reconnectBackoffMs` will be taken
into account after `disconnected` is called.

@param id the connection to remove
clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java