The engine will hot soak after you shut it off, it's normal and nothing you can do unless you want to put in an electric fan with a timer...a waste I think. As far as the pinging you either need to run a higher octane gas and if you are already you need to look at the base timing and adjust down, start with 1 or 2 degrees and test drive. In any event, pinging is NOT good for your motor.