loopj/android-async-http — pull request #533 by superdry (2014-04-21 07:46:15+00:00)
Title: fix an exception

Fix NetworkonmainthreadException occurs when AsyncHttpRequest.cancel(true) is called.
```
android.os.NetworkOnMainThreadException
at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:908)
at org.apache.http.impl.SocketHttpClientConnection.shutdown(SocketHttpClientConnection.java:183)
at org.apache.http.impl.conn.DefaultClientConnection.shutdown(DefaultClientConnection.java:150)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.shutdown(AbstractPooledConnAdapter.java:169)
at org.apache.http.impl.conn.AbstractClientConnAdapter.abortConnection(AbstractClientConnAdapter.java:378)
at org.apache.http.client.methods.HttpRequestBase.abort(HttpRequestBase.java:159)
at com.loopj.android.http.AsyncHttpRequest.cancel(AsyncHttpRequest.java:170)
at com.loopj.android.http.RequestHandle.cancel(RequestHandle.java:32)
at com.loopj.android.http.AsyncHttpClient.cancelRequests(AsyncHttpClient.java:565)
```