added a CqsDelete(Queue) to free the memory.