[tor-commits] [tor/master] Create a relay subsystem and move the shutdown functions there