llgs: fix non-main thread exit to complete its death process.

Fixes https://github.com/tfiala/lldb/issues/72.