If the 500 on line https://github.com/pavius/preemptive-kernel-in-win-thread/blob/master/main.cpp#L286 is changed to a low value, like 1 ms, exceptions occur. Why could that be, and how to prevent it?