Handle EAGAIN/EWOULDBLOCK