move the sleep in yk_wait_for_status() to the top of the loop

fixes #38
it seems there is a race if a fast computer makes control transfers
very close to each other in time, this enforces a 10ms sleep at the
start of a read.