multithreading writing to DB.  Fingers Crossed.