Added sqlite3:with-transaction around the add-to-queue loop for pkts