Sounds like carb is vapor locking from heat. When it does it spray some water on the carb to cool it and see if it will restart.
If it is running hot most causes are, too lean, clogged cooling fins, not running at full throttle under load, retarded timing.