Added support for destroying queues