Use real QUEUE
Implement FETCH-KEY
Terminate scanner properly