maybe it would be better to give them a warning message like "This app will shut down in 5 minutes for maintance" and let them finish what they are doing.
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching