Comet moth

Hiya, I was wondering if anyone knew anything about rearing comet moth pupa. I have one that looks like it’s about to hatch; you can see the wing details etc however the moth itself seemed to of shrunk in its casing. Is this normal or is it dying? When I hold it the part where the wings almost crackle where there’s so much space between the casing and the moth and I’m a little worried :,). Any help or advice would be great!