Could be spark
Some bikes (notably Goldwings) have had problems with their ignition pickup sensors.
When the oil heats up one (or both...there are 2 in that model AT IIRC)ignition sensor fails. Once the bike cools a bit it works again. Frustrating to diagnose and hunt down for obvious reasons. This MAY be your problem.
Or you could just sell the bike (dibs !)