Better managed and shutdown connections in benchmarker.