FIX #1980: must check for ThreadRelocated in killThread#