I have a hayward 1 horsepower motor, runs beautifully when ambient temperature is below 90, no noise nothing.

When it gets over 90 and withing one hour it shuts off to cool down then its back again, same cycle.

Checked the ports around clear no leaves or debris, air flow around is good, the motor is very hot to the touch.

Any ideas what to do ?