Wait for the native thread to die in Thread.Join() on Windows