@Override
	public void endSampling(ISingleConsole singleConsole, PerfTest perfTest, IPerfTestService perfTestService) {
		scheduledTaskService.removeScheduledJob(this);
		for (Map.Entry<MonitorClientService, BufferedWriter> each : clientMap.entrySet()) {
			closeQuietly(each.getKey());
			closeQuietly(each.getValue());
		}
		clientMap.clear();
	}
Constructor.

@param config               config
@param scheduledTaskService scheduling service to run monitor task
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/samplinglistener/MonitorCollectorPlugin.java