void (@NotNull ExecutionManager executionManager) { List<RunContentDescriptor> descriptors = executionManager.getRunningDescriptors(Conditions.alwaysTrue()); for (RunContentDescriptor descriptor : descriptors) { ProcessHandler processHandler = descriptor.getProcessHandler(); if (processHandler != null) { ScriptRunnerUtil.terminateProcessHandler(processHandler, 0, null); } } }