Automatic Shutdown

This topic applies to Java version only