Fix commit channel on restart.
Merge pull request #131 from goraft/fix-restart

Fix commit channel on restart.