public ProcessWatcher(MPC api) { this.api = api; this.AllowClose = true; timerKillIfFrozen = new Timer(2000); timerKillIfFrozen.Elapsed += timerKillIfFrozen_Elapsed; }