If anything happens during initialization of the application, the error is caught and the application shutdowns properly.