I read that "stale connections are a result of the server disconnecting the connection but the client not knowing." But i am trying to find how it is possible in case I am using my application based on SpringBoot RestTemplate (further using PoolConnectionManager from Apache) and calling another API from my application? In this case, my application is a client and the application i am calling is acting as a server. If i hit that application, and the api i am calling receives the request but somehow breaks down before full filling the request. In this case, i will surely get the exception at my end. And i am pretty sure that in case PoolConnectionManager must be closing that connection. Then how can i ever have stale connection?