Use AsyncTask.stop() instead of local method