Added a way to stop the timer