Use doXhr for retry