Thermal oxidative degradation of an epoxy resin