Win32: fix broken pipe detection