reduce cpu-load by adding a sleep in the main loop