public override async Task StopAsync() { await base.StopAsync(); if (jlinkProcess != null && !jlinkProcess.HasExited) { jlinkProcess.Kill(); } } }