Attempt a second time on a failed xhr request