gracefully exit from disable flag sleep