Safe commit, saving state