Hi, Currently i am using URL, URLConnection and HttpURLConnection classes to connect a remote server. I want to close the connection once the process is over. How to close the HttpUrlConnection?, and i want to introdcue timeout also in this case. Any idea/suggesstions would be greatly appreciated. Thanks in advance Prasanna.