add retries to delete task