You can disable HTTP 1.1 support on you method, i.e. httpMethod.setHttp11(false);
but you will lost some other features.
You can also try to force the connection header to ask the server to close the connection after its response: httpMethod.setRequestHeader("Connection", "close")
.