Refs #3928: add a check in script to count number of agent/executor running, and kill them if more than 8 are running

The check is at 8, since in the common Technique the kill happens at 8 instance of agent