NXP-12985 enable concurrent access to sessions by stealing and
roll-backing at end
NXP-13009 fix concurrency in repository shutdown