Restore the WSAEWOULDBLOCK checking on windows.