Fixed loop which ate CPU

The loop here ate CPU and pushed a core to 100% usage constantly.
No point in checking every millisecond for a crash.