small fixes to HTTPError retry example