void (@NotNull ExternalSystemTaskId id, String workingDir) { myTasksInProgress.put(id, System.currentTimeMillis() + TOO_LONG_EXECUTION_MS); if (myAlarm.isEmpty()) { myAlarm.addRequest(() -> update(), TOO_LONG_EXECUTION_MS); } }