Add explicit release and validation for queues and buffers

Explicit release allows for more immediate deallocation. Use of
released objects causes a panic.