Add missing timer.cancel().