Flowing a pattern

I’m having trouble with flowing a pattern on a closed polysurface (it resembles a cylinder). Flow along srf only works with single surfaces so I can’t get the pattern to be continuous on the top and the side if I flow it seperately. I tried curving the edges a bit so it’s not a sharp edge, but it’s not helping either since I can’t get it to become a single surface. Any idea about how to get the pattern to flow on the whole thing without making it look uneven? I really want the pattern to be continuous.