Asynchronously call sys.exit() to avoid deadlock due to the JVM shutdown hooks.