Grrrrrrrrrrrr!!!!!

Sprung a leak in the return line.
I think the vibration of the pump has broken the glue seal around the flex hose where it fits into a true union. I closed the gate valves from the overflow and drained the return section of the sump to allow it to dry out overnight and will fix it tomorrow after work. Any suggestions on how to prevent this from happening again. Should I replace the flex with PVC? Will a glued PVC joint hold up to the vibration better than a glued flex to PVC joint? The pump is a Reeflo Barracuda and vibrates pretty good. Or maybe there is some sort of sealant that I can seal around the glue joint?