wait for the metrics page to finish loading