Ensure ambient temperature is below 120F (48C). Ensure the enclosure fans are working properly.
Verify fan in electrical enclosure is spinning. If not, disconnect pump from AC power, and check fan wiring or replace fan.