public void stopAgent(int consolePort) {
		Set<AgentStatus> agentStatusSetConnectingToPort = getAttachedAgentStatusSetConnectingToPort(consolePort);
		for (AgentStatus each : agentStatusSetConnectingToPort) {
			if (each.getAgentControllerState() == BUSY) {
				agentControllerServerDaemon.stopAgent(each.getAgentIdentity());
			}
		}
	}
Stop agents which uses the given console port by force.

@param consolePort console port.
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/AgentManager.java