Close figs after each measurement since they're not automatically closed.