HM/TJ: new strategy, removing threads, commit immediately (for now). TODO: commit once in a while (e.g. after 1000 records or 10 seconds)