Sounds like you're doing the right thing. Assuming it's a single file line of riders, get up front, pull until you get tired, check your shoulder and pull off to the left. I usually then like to motion the rider behind me and to my right with a flick of the elbow or a wave through. Slow pedal until the whole pack moves up on your right, and when there's a gap or no riders left, fill in.