If your computer is having to shutdown because of the temprature of the CPU then it may be time to introduce water cooling or other cooling methods... eg. Better fans, copper rods.
If you CPU is almost reaching its max temperature then either water cooling or a different cooling method should...