clear timers in onClose