Try turning the key off to on and hit the starter, for me it seems to reset something when the engine is cold. I think if the battery cover is left off in the rain the wiring harness for the cdi may get water and the moisture may make it quit while running, until the key is turned off to on. Have you had it skip a beat while you are riding.