Never call disconnect() directly! Please, read about keep-alive http://docs.oracle.com/javase/6/docs/technotes/guides/net/http-keepalive.html