Fixed stale status of JVM on shut down (very rare)