I certainly defer to your expertise. But my photo was not to suggest the OP use one of the three strain relief devices pictured, but to demonstrate there are 202 strain relief devices at that one particular store. I am sure there is one with a gland around the wires and o-ring at the base that would work just fine.
I’d repair that pump myself and wouldn’t think twice. Other than the pump head being visible, my pump is under a table. The electrical connection does not get wet. But to be safe it is plugged into a GFI. After all, it is used in a brewery.
Sent from my iPad using Tapatalk