Ensure ThreadContext "pre" happens outside try/finally for "post".