More than likely the coil is failing when it gets hot. Usually they are fairly reliable - this usually only happens if the engine gets seriously overheated (usually due to grass/debris under the cowling).
Clean out under the cowl, and if that doesn't fix it, replacement is the only answer.
phil_saunders(a)bigfoot.com
Phil Saunders
August 2013