You can buy a kit off that well known auction site to do this. The product is from America (where they’ve had this crappy petrol for some time) and it’s called SLOSH. I used it on the Norton engine rebuild in the Project section and it comes with a bottle of cleaning agent that you swill around before putting in the sealant.
It goes off to a hard finish like Araldite and seems to be OK so far, just make sure that you roll a piece of card into a tube and put it in the outlet hole so that the threads don’t get too gunjed up with it. If they do just run a tap through to clean it out.
Expect to pay about £30 for a kit. I hope that helps.