Don't crash when restarting Tor in the same process
This is the most basic part of legacy/trac#23847 -- we want to restart in the same process without crashing immediately.
issue