Prevent issues with DefaultMetricsSystem when running tests in parallel