Implemented deletion of queues