Fix #37: Do not use internal Thread state to infer ThreadStatus