Avoid automatic mail account update when the application is exiting