Minor tweak to exiting the application.