Check for EAGAIN as well as EWOULDBLOCK, since they are