Retries and batched saves to handle big spreadsheets.