Change how output thread duplication is avoided.