Commit after regular intervals