private async Task ThrowOnUnavailableStream(string id, Exception innerEx) { _streamExposerContent.ErrorOnProcessingRequest( new BulkInsertAbortedException($"Write to stream failed at document with id {id}.", innerEx)); await _bulkInsertExecuteTask.ConfigureAwait(false); }