Did you check the agent logs? I believe this is something on the network level playing with your connections. Maybe firewall closing connections? I’ve seen environments where firewalls were closing TCP connections after just few minutes of inactivity.