jthread remove locks that aren't absolutely required