Download e.g. the TCPview tool from
https://technet.microsoft.com/en-us/sysinternals/tcpview and monitor the number of TCP/IP connections in a TIME_WAIT state on your Mid-tier machines during the period where you usually get these hangs.
To avoid TCP/IP port exhaustion.
- If using Mid-tier clones, reduce or disable the clones. Clones are not needed on 64bit machines.
- Increase the port range Key. The default is 5000, max is 65534
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort
- Reduce the time key, the connection is in TIME_WAIT state. The default is 4 minutes, a starting value for testing can be e.g. 30 seconds.
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay