How do I close the polysurface with naked edges for boolean operations?
check out this video-
Try to join the curve segments before creating the pipe.
And as usual, please post your file when asking for help…