change the useless loop of doInBackground method from BackTask class to
a loop with a sleep thread at each iteration