Don't reopen the file during a batch reset

Connections to the SQLite warzones are now kept open when iterating a batch reset.