Committing after inserts helps.