Added missing finalize for lock-queue