Trying to fix non-blocking sockets on windows