add simple ref-counting to pipeline packs so multiple outputs don't try to recycle.