public void shutdown() {
		try {
			synchronized (this) {
				getConsoleFoundation().shutdown();
				if (consoleFoundationThread != null && !consoleFoundationThread.isInterrupted()) {
					consoleFoundationThread.interrupt();
					consoleFoundationThread.join(1000);
				}
				samplingCount = 0;
			}
		} catch (Exception e) {
			throw processException("Exception occurred while shutting down console", e);
		} finally {
			// close all report file
			for (BufferedWriter bw : fileWriterMap.values()) {
				IOUtils.closeQuietly(bw);
			}
			fileWriterMap.clear();
		}
	}
Shutdown this {@link SingleConsole} instance and wait until the
underlying console logic is stopped.
ngrinder-core/src/main/java/net/grinder/SingleConsole.java