HANG on attach if thread exits
There's a hang on UNIX during attach where it waits with no timeout for a thread it found on the task list, but if the thread has exited it will wait forever. I have observed this happening in a test I created for #2600 (closed).