Fixed recvall, automatic closing of pipes in Windows.

_iocp_recvall should update overlapped.object with new view when
recv is called again (because more data is expected).

In Windows the server end of pipe must be disconnected before
closing so the program using it quits.