There could be a defect in the relays. I was able to get a zip tie around the one that kept wiggling loose. I've done a few moderate to longer rides to see if it holds. So far so good. Fingers crossed. Once I get more time, I'll go through and work on inspecting and protecting wires around the fuse compartment, headlight housing, and other areas.