Fixed issue of connection close (from jmeter). Cleaned up logging