Reverted to using non-blocking version of send and recv with Windows MVar hack.