Switch to offline modes on failures to compute source stats caused by connection errors