TST: Close file to allow proper removal in MonitorFailures