Close tty on error before handler
Close tty on error before handler

Signed-off-by: Michael Crosby <951f4c7b5d47e32d0112c78d14a98eaa23e6b5ef@gmail.com>

opencontainers/runc,keloyang/runc,wking/runc,kolyshkin/runc,jhowardmsft/runc,avagin/runc,stefanberger/runc,cloudfoundry-incubator/runc,justincormack/runc,mheon/runc,keloyang/runc,cyphar/runc,wangkirin/runc,runcom/runc,nkwilson/runc,stefanberger/runc,vbatts/runc,mYmNeo/runc,rajasec/runc,vbatts/runc,mheon/runc,mheon/runc,dqminh/runc,justincormack/runc,hqhq/runc,justincormack/runc,estesp/runc,cyphar/runc,shishir-a412ed/runc,albertoleal/runc,laijs/runc,maxamillion/runc,rhatdan/runc,albertoleal/runc,cyphar/runc,WeiZhang555/runc,mYmNeo/runc,keloyang/runc,rhatdan/runc,adrianreber/runc,jhowardmsft/runc,hqhq/runc,crosbymichael/runc,estesp/runc,ZJU-SEL/runc,mikebrow/runc,xiaochenshen/runc,jhowardmsft/runc,adrianreber/runc,inatatsu/runc,kolyshkin/runc,rajasec/runc,cloudfoundry-incubator/runc,mikebrow/runc,vbatts/runc,runcom/runc,abduld/runc,xiaochenshen/runc,docker/runc,stefanberger/runc,wking/runc,dqminh/runc,xiaochenshen/runc,ZJU-SEL/runc,ZJU-SEL/runc,mYmNeo/runc,adrianreber/runc,maxamillion/runc,opencontainers/runc,nkwilson/runc,kolyshkin/runc,albertoleal/runc,dqminh/runc,inatatsu/runc,wking/runc,avagin/runc,mikebrow/runc,coolljt0725/runc,laijs/runc,WeiZhang555/runc,crosbymichael/runc,wangkirin/runc,rhatdan/runc,abduld/runc,shishir-a412ed/runc,wangkirin/runc,shishir-a412ed/runc,runcom/runc,rhatdan/runc,sunyuan3/runc,laijs/runc,crosbymichael/runc,estesp/runc,coolljt0725/runc,maxamillion/runc,hqhq/runc,opencontainers/runc,opencontainers/runc,inatatsu/runc,sunyuan3/runc,docker/runc,dqminh/runc,cloudfoundry-incubator/runc,docker/runc,abduld/runc,avagin/runc,rajasec/runc,kolyshkin/runc,sunyuan3/runc,WeiZhang555/runc,nkwilson/runc,coolljt0725/runc