Make sure to stop timers, even in case of errors