Cancel timer before clear events