I could be wrong, but it sounds like it is hrydrolocking, check how much oil is in the engine, if there is too much when the engine gets hot the oil expands and won’t let the engine start, then after some time, usually about 1/2. hour, the oil cools down and then you can start it again.