I had this problem, and gradually it got worse.
No worries it was just the side stand switch.
Give the switch some wd40 and work it in. Also check the connection behind the side panel.
Follow the lead up from the switch till you find the connection plug. See if its slightly loose. Pull it apart put some wd40 in.
It sorted mine out as my connection plug was slightly loose.
Also check your idle speed is 1500 min when warmed up.