connection: catch URL Errors