Release ClassPool after generating structs