Handle rare case of socket_receive failing with EWOULDBLOCK