Restart clock if application incorrectly shutdown while running