We are using a Windows Service to make very frequent HTTP calls to an internal REST service (20-40 calls per second), but notice a long delay in getting responses after the service runs for several minutes.
Looking at netstat, there are quite a few ports with "TIME_WAIT" status, and it seems we may be running out of ports.
How can we ensure that ports are reused?