That’s relatively unusual, and the obvious advice is just learn to stop a bit earlier, but I also suspect a lot of it is to do with how you’re breathing and holding tension in your body. That you let the pleasure build up, and will probably hold your breath and tense your core muscles, and even as you stop rubbing, when you release that tension you orgasm.
So, try keeping your breathing steadier, in through your nose, out through your mouth, all the way to the edge, and make a concious effort to stay relaxed, and let me know if that helps.