just rebuilt top end on bike started and let idle numerous times before riding it for the first time. after about a half hour of riding first time was riding in 4th gear let off the throttle and back tire locked up and bike shut off. Pulled clutch in and dropped a gear let go of clutch and it fired backup. It did two more times to me only when I was in 4th or 5th gear and right when I would let off the throttle. Last two times I stopped and kick started it and it fired up first kick both times. Parked it for rest of day to be safe. Just wondering what you guys think could be the problem.