MINOR: contrib/prometheus-exporter: avoid connection close header

it does not seem to have a reason to close connections after each
request; reflect that in tests by doing all requests within the same
client.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
diff --git a/reg-tests/contrib/prometheus.vtc b/reg-tests/contrib/prometheus.vtc
index 64b9cc0..59ff82d 100644
--- a/reg-tests/contrib/prometheus.vtc
+++ b/reg-tests/contrib/prometheus.vtc
@@ -37,22 +37,12 @@
 	expect resp.body ~ ".*haproxy_frontend.*"
 	expect resp.body ~ ".*haproxy_backend.*"
 	expect resp.body ~ ".*haproxy_server.*"
-} -run
 
-client c2 -connect ${h1_stats_sock} {
-	txreq -url "/metrics?scope"
-	rxresp
-	expect resp.status == 400
-} -run
-
-client c3 -connect ${h1_stats_sock} {
 	txreq -url "/metrics?scope="
 	rxresp
 	expect resp.status == 200
 	expect resp.bodylen == 0
-} -run
 
-client c4 -connect ${h1_stats_sock} {
 	txreq -url "/metrics?scope=server"
 	rxresp
 	expect resp.status == 200
@@ -60,9 +50,7 @@
 	expect resp.body !~ ".*haproxy_frontend.*"
 	expect resp.body !~ ".*haproxy_backend.*"
 	expect resp.body ~ ".*haproxy_server.*"
-} -run
 
-client c5 -connect ${h1_stats_sock} {
 	txreq -url "/metrics?scope=frontend&scope=backend"
 	rxresp
 	expect resp.status == 200
@@ -70,4 +58,8 @@
 	expect resp.body ~ ".*haproxy_frontend.*"
 	expect resp.body ~ ".*haproxy_backend.*"
 	expect resp.body !~ ".*haproxy_server.*"
+
+	txreq -url "/metrics?scope"
+	rxresp
+	expect resp.status == 400
 } -run