no need for a thread to run db.commit