Currently, `TransportGetShutdownStatusAction` is executed in a transport thread, this action can do a substantial amount of work (O(# shards) in some cases) in the transport thread preventing pending transport tasks to make progress and potentially causing cluster instability. This action should be dispatched into a different thread pool to avoid such issues.
server/src/main/java/org/elasticsearch/action/support/master/TransportMasterNodeAction.java
HandledTransportAction<Request, Response>
    implements
        ActionWithReservedState<Request> {
    private static final Logger logger = LogManager.getLogger(TransportMasterNodeAction.class);
    protected final ThreadPool threadPool;
    protected final TransportService transportService;
    protected final ClusterService clusterService;
    protected final IndexNameExpressionResolver indexNameExpressionResolver;
    private final Writeable.Reader<Response> responseReader;
    protected final Executor executor;
    protected TransportMasterNodeAction(
        String actionName,
        TransportService transportService,
        ClusterService clusterService,
        ThreadPool threadPool,