I assume your client is timing out. Unfortunately, I’m not too familiar with this situation, after how long do you see this exception?
Can you try using the following snippet to increase the timeout interval and see if that helps?
HttpClientParams params = new HttpClientParams();
params.setSoTimeout(number);
Client client = Client.getInstance(myEndpoint);
client.setProperty(CommonsHttpMessageSender.HTTP_CLIENT_PARAMS, params);