Main thread has ID 1 now.
Handle encountering a destroyed thread.

In the work passing, we can of course never pass to it, but should not
explode.