Fix network connection issues in Windows

Applies to: Windows 10Windows 8.1Windows 7