Add stopped() and stop() functions to the timer