shutDownGracefully
Initiates a graceful shutdown of the Tomcat web server. Handling of new requests is prevented and the given callback
is invoked at the end of the attempt. The attempt can be explicitly ended by invoking stop.
Once shutdown has been initiated Tomcat will reject any new connections. Requests on existing idle connections will also be rejected.