private void CleanupLazyWriter() { if (LazyWriter.IsValueCreated) Attempt.Do(LazyWriter.Value.Dispose); _lazyWriter = null; }