Not sure I understand this. Why does this extra if clause change the way how we handle retries?