Thread:: bugfix: no more hanging on SIGSEGV.