More robust fetching of external resources