SONAR-4898 fix parallel termination of processes