Pause/freeze containers during commit

Close #6276