In my appliationtion I use external dll-libreries for comunication with hardware. DLL libraries have the bug of opening too many TCP port. I would like to close them periodicall