Rename fatalErrorHandler to shutdownHandler, to make it clearer it is called on every app shutdown
Comment ot make shutdownhandler clearer