Does it randomly disconnect, or simply if you tug on it hard enough?
There are two different sizes, IIRC. I your "female" is the larger size, and the "male" is the smaller size, it might latch, but not hold tight.
They're pretty simple devices - a pin/wedge, some ball bearings and a spring.