Use ThreadSetupAction in try/finally