How to prevent metal temperature failure during casing depressurization?