Anhydride curing of epoxy resins via chain reaction