Fix calling task twice.

AsyncTask can be called only once.