### 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
if (masterEligibleNode == null) {
                responseConsumer.accept(null);
            } else {
                logger.trace("Opened connection to {}, making transport request", masterEligibleNode);
                
                final TimeValue transportTimeout = TimeValue.timeValueSeconds(10);
                try {
                    transportService.sendRequest(
                        masterEligibleNode,
                        transportActionType.name(),
                        transportActionRequest,
                        TransportRequestOptions.timeout(transportTimeout),
                        new ActionListenerResponseHandler<>(
                            ActionListener.runBefore(fetchRemoteResultListener, () -> Releasables.close(releasable)),
                            transportActionType.getResponseReader()
                        )
                    );
                } catch (Exception e) {
                    responseConsumer.accept(responseTransformationFunction.apply(null, e));
                }
            }
        }, e -> {
            logger.warn("Exception connecting to master masterEligibleNode", e);
            responseConsumer.accept(responseTransformationFunction.apply(null, e));
        });
        fetchRemoteResultListener.whenComplete(response -> {
            long endTime = System.nanoTime();
            logger.trace("Received remote response from {} in {}", masterEligibleNode, TimeValue.timeValueNanos(endTime - startTime));
            responseConsumer.accept(responseTransformationFunction.apply(response, null));
        }, e -> {