Catch URLError as well