pause the thread a little in the loop