while using HttpURLConnection is it necessary to use disconnect()
<p>Can anyone please explain what will be the impact if I dont use disconnect() while using HttpURLConnection. I am sending and recieving data through the connection. and closing the input and output streams. Is that enough or I should explicitely use disconnect().</p>

<pre><code>        URL url = new URL(urlname);
        HttpURLConnection urlconnection = (HttpURLConnection) url.openConnection();
        urlconnection.setRequestMethod("POST");             
        urlconnection.setDoOutput(true);
        urlconnection.setConnectTimeout(s_time);
        OutputStreamWriter out = new OutputStreamWriter(urlconnection.getOutputStream());
        out.write(postData);
        out.close();
        BufferedReader in = new BufferedReader(new InputStreamReader(urlconnection.getInputStream()));
        String somestring;
        while ((somestring = in.readLine()) != null) {
            data += somestring;
        }
        in.close();
</code></pre>