This is done during startup, so if closing the file fails, we definitely should abort ;)