Fixed busy waits by yielding