[tor-commits] [tor/maint-0.4.2] mainloop: Disable periodic events before a destroy