msg = "Starting attempt {attempt} of {total}".format(
            attempt=self.try_number % (task.retries + 1) + 1,
            total=task.retries + 1)