Added grace period for subsequent app restarts