It's just cooling down. When it gets hot (especially after a good bit of hard driving

) the metal expands. When you stop the engine there are no hot gases passing through it therefore it starts cooling down and the metal starts to contract making pinging/ticking noises as it does. Perfectly normal.