I think the occasional problem with this connector coming away is largely caused by the actual diameter of the 3.5 Jack insertion hole. It is just a bit on the small size. This causes some (but not all) Jack plugs to be a very tight friction fit, thus causing excessive insertion/withdrawal forces and subsequent stress on the SMD pads.?
IMHO. A very small drop of cyano glue is perfect. It will wick under the connector body and bond very strongly to the PCB. Also, use good old proper full fat leaded solder! ?Peter