Now close and reopen pending metrics file