Hey Neil - this is a great question, and brother Jason Ricci’s video that @Slim shared is great. This is also a great example of where it’s important to feel 4-bar and 8-bar phrases like I talked about in this post, and to have your solo, like a story, have a beginning, middle and end which I discuss in this video where I’m soling over a 2-chord vamp, but it’s the same idea:
LMK if that helps and if you have any further questions.