Fix for Windows 10 exhausted pool of TCPIP ports

Lately one of my Windows 10 machines started to behave quite strange, after about a day of use, browsing Internet was no longer possible. I could still ping resources, but not use any browser or other application requiring Internet access. A reboot fixed the problem, and then after about a day, sometimes less, the same thing happened.