Yield the thread of the read worker.

Without this change the main thread locks up.
Merge pull request #1 from iamtyler/master

Yield the thread of the read worker.