Para realizar essa tarefa é importante considerarmos a seção "Retry gracefully" do post: https://blog.balthazar-rouberol.com/celery-best-practices