stop the timer when the time is over