call the transformer when closing a tchan
in the transducers example, extend the transformation chain