jebene/cgates: closed files in consensus2 to imporve test failure
messages