urlConnection.getInputStream().close();urlConnection.setConnectTimeout(30000);urlConnection.setReadTimeout(30000);