TerminalCommandHistoryManager () { if (PRUNE_SCHEDULED.compareAndSet(false, true)) { JobScheduler.getScheduler().schedule(() -> pruneOutdated(), 4, TimeUnit.MINUTES); } return ApplicationManager.getApplication().getService(TerminalCommandHistoryManager.class); }