I have exactly the same problem-
I can't be sure its exactly the prob same as yours, but my SR250 has a really dodgy spark plug wire (not where it's connected to the plug itself, but where the plug connector connects to the cable from the system, if that makes any sense!) and it comes out easily, cutting out the bike. It's a little crude but making sure it's connected and taping it with cellotape solved my problem, it hasn't done it for months now. Have a go and see if it works.