Still need to loop again when EAGAIN after a read triggered by an event
Merge pull request #414 from arkaitzj/master

Still need to loop again when EAGAIN after a read triggered by an event, Fixes #363