Executed in App#onExit
which is when shutdown is requested.
Executed in App#onExit
which is when shutdown is requested. All registered exit hooks
run in parallel and are executed after all App#postmain
functions complete.
Executed in App#premain
which is right before the user's main is invoked.
Defines a hook into an com.twitter.app.App.