Always call the transactionsequence's commit(), independent whether there are new subjobs. It will check if it has to wait for those to complete.
traverseItems() is already called by a subjob (itemfetch), so not calling commit() leaves the transaction open indefinitely.
svn path=/branches/KDE/4.5/kdepimlibs/; revision=1150702