Always clear the timer, even if user code raises exceptions