jthread: fix