I have an Angular service to handle my REST calls to an Apache server. There are instances when a user makes several REST calls in a row. When this happens, Chrome will hold a socket open for each request. The sockets are kept open for 60 seconds and are not reused. Eventually a limit is hit and all subsequent requests are held as "pending" until a socket is cleared. I have researched the Chrome "Waiting for available socket" issue, however all of the solutions point towards a client side fix of clearing sockets through Chrome. This issue does NOT appear when hitting my REST API on my localhost Apache server.
I would think there has to be a server side solution or a way in Angular to clear or reset the socket.
I am using: Chrome Version 68.0.3440.106 Ubuntu 16.04 Apache version 2.4.7