Don't pre-maturely rollback borked transactions.
Always close redo stream after shutdown, preventing further writes and a later "unexpected end of stream" when recovering.
Fix for internal API change.
Merge remote-tracking branch 'remotes/origin/master' into repl