This is not an error, but an attempt to reduce the load on the CPU, so there is no need to spin cycles with 0 delay. You can experiment with a value of 50 ms to 500 ms.
I see, thank you! I will try it out and see how it goes.