Disable automatic termination of applications during shutdown in Windows