public override async Task DisposeAsync() { await base.DisposeAsync().ConfigureAwait(false); if (_journalStream != null) { await _journalStream.FlushAsync().ConfigureAwait(false); _journalStream.Dispose(); } }