Fix for EWOULDBLOCK