Retry on ConnectionError in getXMLPageCore

Previously it just gave a fatal error.
Possibly fixes #169 and similar issues.