I tend to get carried away in a jam, sometimes feel like I'm just hitting random licks and exercise in a solo, I don't like how I sound.
So recently I try to sing the note in my head when I pluck it, make every note counts rather than just let my fingers flow.
Now I play very very slow, but more melodic and better in 'answering' the song. But if I can't think of anything good, I just do my 'exercise' again...