terminal pipe