yield to the event loop
Merge pull request #1002 from reqshark/master

yield to the event loop