Added serial worker queue for database inserts.