#41 - must be EWOULDBLOCK instead of EAGAIN to make windows happy