private void handleTimedOutConnections(List<ClientResponse> responses, long now) {
        List<String> nodes = connectionStates.nodesWithConnectionSetupTimeout(now);
        for (String nodeId : nodes) {
            this.selector.close(nodeId);
            log.info(
                "Disconnecting from node {} due to socket connection setup timeout. " +
                "The timeout value is {} ms.",
                nodeId,
                connectionStates.connectionSetupTimeoutMs(nodeId));
            processTimeoutDisconnection(responses, nodeId, now);
        }
    }
Handle socket channel connection timeout. The timeout will hit iff a connection
stays at the ConnectionState.CONNECTING state longer than the timeout value,
as indicated by ClusterConnectionStates.NodeConnectionState.

@param responses The list of responses to update
@param now The current time
clients/src/main/java/org/apache/kafka/clients/NetworkClient.java