Fix: clean up environment even there is exception
Fix: clean up environment even there is exception

sunnyqianzhang/on-build-config,srinia6/on-build-config,changev/on-build-config,sunnyqianzhang/on-build-config,srinia6/on-build-config,changev/on-build-config,srinia6/on-build-config,sunnyqianzhang/on-build-config,changev/on-build-config