public static void Dispose() { _currentProcess?.Kill(); _currentProcess = null; _ipc.Dispose(); _ipc = null; }