Add retry logic to AWSCloudSearch::CloudSearch.documents_batch