[tor-commits] [tor/master] Reset all main.c state at exit