Modified _get_url to try 3 times before giving up.