QueueManager: very simple query queue