I search a lot, I found some solutions like this:
System.setProperty(\"http.keepAlive\", \"false\"); arg0.addHeader(\"Connection\", \"close\"); arg0.addHeade
This is a known issue:
https://github.com/square/retrofit/issues/397
Did you try using OkHttp?