What are the 10 ms waiting time for? Is there a race condition?