Skip join in thread, which deadlocks on windows