处理方式:
1. 对socket设置响应超时
SocketConfig socketConfig = SocketConfig.custom()
.setSoKeepAlive(false)
.setSoReuseAddress(true)
.setSoTimeout(70000)
.setTcpNoDelay(true).build();
2. 关闭响应资源流
res.getEntity().getContent().close();