ECU driving me to drink

when it wont start when its hot , its because the fuel pump circuit doesn't fire . Normally when the key is moved to the on position , the fuel pump fires and the throttle body cycles.
None of this happens with the first ecu when it overheats . If I spray it with something to cool it down or even sit an ice block on it , it runs normally.
Is it the same problem Nikolaus Otto had when he test his engine the 1st time. He then integrated propeller to flywheel, cooling it down and solve the problem.

Since it difficult to order new part, why don't you install a separate electrical fan to cool down the ECU and see how's it going?