I'm checking for internet connection status in onPreExecute() and If there is no internet connection, it should not execute the doInBackground() and onPostExecute()
new getStatus().execute();
private class getStatus extends AsyncTask<Void, Void, Void> {