Winsock error 10038 when backending sockets and stdin