On restart-in-process, do the right thing with thread-local storage
We use thread-local storage in one or two places; we should make sure that when tor shuts down, it's dropped, and when tor starts up again in the same process, it's created as an independent key.