update pipeline to call teardown of output workers when :workers > 1