add support for transducer's early termination