Make inserts being executed in single transaction.