As you allude to, having sexual relations with a partner is much different than masturbation. With masturbation, you do things that are as stimulating as possible, so you end up having an ejaculation sooner than later. You could cut way down on masturbation and use of pornography, and this would help your situation. However, you may need to avoid all masturbation and porn in an all-or-nothing decision once you do meet a suitable partner.