Add new runtime option useShutdownHook. 
If enabled installs a shutdown hook that gracefully shuts down Tomcat