I dont see it this way. The flow control is giving resistance and so is the length of line so the beer in the line is foaming. Then the foam in the line recedes leaving the beer at the low points in the line.
If your using a flow control diconnect then the beer line needs to be a lot shorter than a standard disconnect i think this is your issue. Replace the flow control disconnect with a standard one and see how it goes.