Retries for all urlopen calls

Additional tweak for #1154