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