public void run() {
			try {
				setAgent(new AgentImplementationEx(LOGGER, m_agentConfig)).run(getGrinderProperties());
			} catch (Exception e) {
				LOGGER.error("While running an agent thread, an error occurred", e);
			}

			getListeners().apply(AgentShutDownListener::shutdownAgent);

			if (isForceShutdown()) {
				setForceShutdown(false);
			}
		}
Run agent with given consoleHost and consolePort.

if consoleHost is null it will use localhost or use console host set in
{@link GrinderProperties}

if port number is 0, it will use default consolePort or use console port
set in {@link GrinderProperties}

@param consoleHost host name
@param consolePort port number
ngrinder-core/src/main/java/net/grinder/AgentDaemon.java