Thread was never joined because thr_info_cancel sets pth to 0. Should improve mining thread hard reset.