pipe: test finalizer