Application of a polyimide foam stabilizer for high-temperature insulation