Commit only every 100 messages