Retries for list_tasks and get_task in worker_base:fetch_task()