Adapted NodeMainExecutorService to work with the non-blocking changes to DefaultNodeMainExecutor.