Freezer method is probably the safest.
I recommend if you are going to torch it and pressurize it, fill the pipe with water 95%, then apply compressed air. The less compressed gasses in the pipe, the safer it will be.
Water does not compress, so it has no energy if the pipe were to burst.
Filled only with gas, the release of pressure would be violent. -BIG DAN