### Description

The `sendRequest` method is asynchronous and notifies a 
`TransportResponseHandler` when it completes the excecution
(successfully or unsuccessfully). 

When opening the connection we only catch `NodeNotConnectedException`
( https://github.com/elastic/elasticsearch/blob/main/server/src/main/java/org/elasticsearch/transport/TransportService.java#L719 ) which is currently fine as no implementations
throw other type of exception however, it'd be best to catch `Exception` here
so the `handler` gets notified of potential exceptions (as opposed to the caller
having to `try/catch` the call to `sendRequest`)
server/src/main/java/org/elasticsearch/cluster/coordination/CoordinationDiagnosticsService.java
logger.warn("Exception in remote request to master" + masterEligibleNode, e);
            responseConsumer.accept(responseTransformationFunction.apply(null, e));
        });
        return transportService.getThreadPool().schedule(() -> {
            if (masterEligibleNode == null) {
                /*
                 * This node's PeerFinder hasn't yet discovered the master-eligible nodes. By notifying the responseConsumer with a null
                 * value we effectively do nothing, and allow this request to be recheduled.
                 */
                responseConsumer.accept(null);
            } else {
                Version minSupportedVersion = Version.V_8_4_0;
                if (masterEligibleNode.getVersion().onOrAfter(minSupportedVersion) == false) {
                    logger.trace(
                        "Cannot get remote result from {} because it is at version {} and {} is required",
                        masterEligibleNode,
                        masterEligibleNode.getVersion(),
                        minSupportedVersion
                    );
                } else {
                    transportService.connectToNode(
                        
                        masterEligibleNode,
                        ConnectionProfile.buildDefaultConnectionProfile(clusterService.getSettings()),
                        connectionListener
                    );
                }
            }
        }, remoteRequestInitialDelay, ThreadPool.Names.SAME);
    }