public static void WaitForThread(ulong threadHandle) => Native.WaitForSingleObject(threadHandle, uint.MaxValue);