Fix potential crash when pipe creation has failed but you still try to remove an item from the queue
Fix potential crash when pipe creation has failed but you still try to remove an item from the queue

danielgtaylor/arista,danielgtaylor/arista