When i first removed the sidestand sensor, i didn't have the wires secured enough, and after 50 feet down the road the bike would quit, then restart till i rode again. It was just the sidestand wiring.
I cut the sensor off after the plug in. then joined the two wires together and sealed them. If i ever want the sensor again, i still have the plug in there. The wires were pretty short but it works.