Sleep if the avalon buffer is empty and we've requested a read to allow the write thread to take precedence.