When a service startup fails at the Nodemanager, the Nodemanager JVM doesnot exit as the following threads are still running.
Daemon Thread [Timer for 'NodeManager' metrics system] (Running)
Thread [pool-1-thread-1] (Running)
Thread [Thread-11] (Running)
Thread [DestroyJavaVM] (Running).
As a result, the NodeManager keeps running even though no services are started.