title: How to avoid Fatal signal 6 (SIGABRT) on android
body: <p>I'm using HttpURLConnection to get a web service, the server is in the same network but the responce can be delayed to 60000ms (bcs of some complicated causes i must set it to 60000ms), when i hit listview item to call the webservice and waiting for the responce and loose the wifi signal and continue clicking the list my app crash with no exception the error is <code>A/libc(9052): Fatal signal 6 (SIGABRT) on android at 0x000001e5 (code=0), thread 9052</code> 
  more clear: <code>webservice call+ wifi lost+ clicks = Fatal signal 6 code=0</code>
  I'm trying to avoid this by: </p>
  
  <ol>
  <li>Blocking the UI or showing please wait but my please waite don't appear bcause there continious cliks</li>
  <li><p>Avoid UI cliks<br>
  but no way!! please help, any propo and discussions are apreciated..</p>
  
  <pre><code>public static boolean stopUserInteractions=false;
  private class GetXmlAndStopUI extends AsyncTask&lt;List, Void, String&gt; {
  
  private final ProgressDialog dialog = new ProgressDialog(context);
  
  @Override   
  protected void onPreExecute() {
      this.dialog.setMessage("Please wait...");
      this.dialog.setCancelable(false);
      this.dialog.show();
  
  }
  @Override
  protected String doInBackground(final List... items) {
      runOnUiThread(new Runnable() {
          @Override
          public void run() {
              webserviceCall(items[0]);
          }
      }); 
  
  return "MSG";
  }
  @Override
  protected void onPostExecute(String result) {
  stopUserInteractions=false;
          if (this.dialog.isShowing()) {  
                  this.dialog.dismiss();  
          }
  }
  }
  
  
  
  @Override
  public boolean dispatchTouchEvent(MotionEvent ev) {
          if (stopUserInteractions) {
                  Toast.makeText(context, "STOP!!!!", Toast.LENGTH_SHORT).show();
                   return true;
          } else {
          return super.dispatchTouchEvent(ev);
  }
  }
  </code></pre></li>
  </ol>