Correctly implemented ASyncTask.