The engines are still mounted feet, not inches off the ground. Foam would have been a few inches high at the most. It takes a lot of water to flame out a jet engine-- they land in blowing snow and land and take off and land in driving rain all the time.
Anyway happy ending for the crew and passengers, agreed.