maxRetries for background sync