reparent_thread: use same_thread_group()