private static void tryKillProcess(@NotNull ProcessHandler processHandler) {
    if (processHandler instanceof KillableProcessHandler) {
      if (((KillableProcessHandler)processHandler).canKillProcess()) {
        ((KillableProcessHandler)processHandler).killProcess();
      }
    }
  }
private static void tryKillProcess(@NotNull ProcessHandler processHandler)