Today I rode my bike for about 30min. Shut it off, about 5min later it wouldn't start. Left the bike off for about 3hrs it started then shut off. About an hour later it starts no problem. I was using the ignition switch. What are the things that could cause this problem?