The app must respond to system shutdown and end session messages as quickly as possible. See link below for more information: ...