There seems to be races when using db cursors from multiple threads. as
found by import issues after switching to a newer computer that has
performance and energy efficient cores.
As this is not particularly performance critical, convert to single
threaded use which makes it work again