1,HttpURLConnection.setConnectTimeout(Timeout_Connect),and 
connect.setReadTimeout(Timeout_Read);