private void OnProcessExit(object sender, EventArgs e) { WriteBuffer(string.Empty, flush: true).Wait(_maxTimeout); }