Raise DeadlineExceededError to restart task instead of creating new task.