public void beginRun() {
		// Discard our cookies.
		CookieModule.discardAllCookies(this);
		CookieManager.reset();

		if (connectionResetProperty.isEmpty()) {
			return;
		}

		// Close connections from previous run.
		for (HTTPConnectionWrapper connection : m_httpConnectionWrappers.values()) {
			connection.close();
		}

		m_httpConnectionWrappers.clear();
		
		// Close connections from previous run.
		HTTPRequester.reset();
	}
HTTP plug-in thread state. (modified for nGrinder)

@author Philip Aston
ngrinder-runtime/src/main/java/net/grinder/plugin/http/HTTPPluginThreadState.java