Fix network connection issues in Windows

Top