fixed sync problems in MetricsServlet2, test modified accordingly.