This and the fuel injection computer connector have stopped me on the road dozens of times. Using DeOxit together with DeOxit Gold protectant has helped but today, the fuel pump wires fell out of the bottom of the tank...three times.
The first time I removed the knee pad and pulled the tank back then put it all back together. The next time I sat on the knee pad as I rode so I wouldn't have to put it back on in the dark.
I guess I'll need to clamp the wire ends a little. Any experience with this?