Fix nits on chan direction and defer
Fix nits on chan direction and defer

Closes #9
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)

dqminh/libcontainer,rhatdan/libcontainer,carlye566/runc,HuKeping/runc,shishir-a412ed/runc,balajibr/runc,boucher/libcontainer,kolyshkin/runc,wcwxyz/runc,gitido/runc,shenxiaochen/libcontainer,xiaochenshen/runc,carlye566/runc,inatatsu/runc,InformatiQ/runc,HuKeping/runc,WeiZhang555/runc,xiaochenshen/runc,hqhq/runc,runcom/runc,milosgajdos83/libcontainer-milosgajdos83,balajibr/runc,kimh/runc,crosbymichael/libcontainer,runcom/libcontainer,sallyom/runc,marcosnils/runc,subuser-security/runc,rhatdan/libcontainer,cyphar/runc,rhatdan/runc,estesp/libcontainer,mheon/runc,SaiedKazemi/libcontainer-criu,albertoleal/runc,coolljt0725/runc,avagin/libcontainer,cloudfoundry-incubator/runc,Microsoft/libcontainer,marcosnils/runc,Microsoft/libcontainer,albertoleal/runc,boucher/runc,rsampaio/runc,shenxiaochen/libcontainer,ZJU-SEL/libcontainer,dqminh/libcontainer,haijunTan/runc,zenlinTechnofreak/runc,tangkun75/libcontainer,navidshaikh/runc,rootfs/runc,YujiOshima/runc,avagin/libcontainer,boucher/libcontainer,ycaihua/runc,estesp/runc,estesp/libcontainer,crosbymichael/libcontainer,ekuric/runc,HardikDR/runc,xiaochenshen/runc,navidshaikh/runc,cxxly/runc,LK4D4/runc,rootfs/runc,carlye566/runc,w4ngyi/libcontainer,hxfeng/runc,talwai/runc,lizf-os/runc,chenchun/runc,shishir-a412ed/runc,unclejack/libcontainer,liuwharton/runc,shishir-a412ed/runc,markllama/runc,wangkirin/runc,whuwxl/libcontainer,ycaihua/libcontainer,ZJU-SEL/libcontainer,calavera/runc,LTD-Beget/libcontainer,mrunalp/runc,nkwilson/runc,avagin/runc,dqminh/runc,stefanberger/runc,mheon/libcontainer,haijunTan/runc,avagin/runc,justincormack/runc,keloyang/libcontainer,axsh/runc,avagin/runc,crosbymichael/runc,talwai/runc,tangkun75/libcontainer,adrianreber/runc,mrunalp/runc,rajasec/runc,willmtemple/runc,zhangyancoder/libcontainer,YujiOshima/runc,YujiOshima/runc,adrianreber/runc,liuwharton/runc,subuser-security/runc,docker/runc,whosthatknocking/runc,Mashimiao/libcontainer,kolyshkin/runc,vbatts/runc,abduld/runc,mapk0y/runc,sunyuan3/runc,ZJU-SEL/runc,whosthatknocking/runc,ZJU-SEL/libcontainer,crosbymichael/runc,chenchun/runc,gitido/runc,fabiokung/runc,keloyang/libcontainer,mikebrow/runc,jwuwork/runc,crosbymichael/libcontainer,InformatiQ/runc,opencontainers/runc,rhatdan/libcontainer,booyaa/runc,mrunalp/libcontainer,jhowardmsft/runc,hqhq/libcontainer,mapk0y/runc,Microsoft/libcontainer,whuwxl/libcontainer,ycaihua/libcontainer,ycaihua/runc,rsampaio/runc,han-wang/runc,dieface/runc,nkwilson/runc,booyaa/runc,hqhq/runc,cyphar/runc,boucher/runc,laijs/runc,boucher/libcontainer,dqminh/runc,docker/libcontainer,keloyang/libcontainer,runcom/libcontainer,ekuric/runc,SaiedKazemi/libcontainer-criu,lizf-os/runc,runcom/runc,docker/runc,estesp/runc,cloudfoundry-incubator/runc,dieface/runc,milosgajdos83/libcontainer-milosgajdos83,mapk0y/runc,subuser-security/runc,abduld/runc,vbatts/runc,kimh/runc,albertoleal/runc,rajasec/runc,aidanhs/runc,willmtemple/runc,cxxly/runc,thaJeztah/libcontainer,shenxiaochen/libcontainer,whosthatknocking/runc,vbatts/runc,icecrime/libcontainer,shakamunyi/libcontainer,inatatsu/runc,mheon/libcontainer,clnperez/runc,aidanhs/runc,axsh/runc,justincormack/runc,cxxly/runc,zhangyancoder/libcontainer,estesp/runc,jwuwork/runc,wangkirin/runc,wangkirin/runc,keloyang/runc,inatatsu/runc,jhjeong-kr/runc,mrunalp/libcontainer,mheon/runc,rootfs/runc,markllama/runc,LTD-Beget/libcontainer,zenlinTechnofreak/runc,docker/libcontainer,docker/libcontainer,maxamillion/runc,ChengTiesheng/runc,opencontainers/runc,coolljt0725/runc,meihuabo/runc,thaJeztah/libcontainer,mrunalp/runc,cyphar/runc,gwoo/runc,mikebrow/runc,icecrime/libcontainer,HardikDR/runc,mYmNeo/runc,HardikDR/runc,shakamunyi/libcontainer,jhowardmsft/runc,HuKeping/runc,dqminh/runc,willmtemple/runc,ddnbgroup/runc,clnperez/runc,tangkun75/libcontainer,stefanberger/runc,hxfeng/runc,w4ngyi/libcontainer,hqhq/libcontainer,han-wang/runc,thaJeztah/libcontainer,cloudfoundry-incubator/runc,laijs/runc,ekuric/runc,SaiedKazemi/libcontainer-criu,ChengTiesheng/runc,kolyshkin/runc,stefanberger/runc,balajibr/runc,jhjeong-kr/runc,BrickXu/libcontainer,wking/runc,sunyuan3/runc,ycaihua/libcontainer,talwai/runc,wking/runc,unclejack/libcontainer,hqhq/libcontainer,kolyshkin/runc,dieface/runc,InformatiQ/runc,ZJU-SEL/runc,keloyang/libcontainer,mikebrow/runc,calavera/runc,sallyom/runc,Mashimiao/libcontainer,hqhq/runc,w4ngyi/libcontainer,marcosnils/runc,BrickXu/libcontainer,markllama/runc,rajasec/runc,LK4D4/runc,ZJU-SEL/runc,wcwxyz/runc,intfrr/runc,shakamunyi/libcontainer,keloyang/runc,LK4D4/runc,han-wang/runc,lizf-os/runc,intfrr/runc,clnperez/runc,maxamillion/runc,boucher/runc,wking/runc,icecrime/libcontainer,jhowardmsft/runc,avagin/libcontainer,coolljt0725/runc,maxamillion/runc,mYmNeo/runc,estesp/libcontainer,sunyuan3/runc,runcom/libcontainer,ddnbgroup/runc,liuwharton/runc,ddnbgroup/runc,fabiokung/runc,unclejack/libcontainer,rhatdan/runc,keloyang/runc,dqminh/libcontainer,WeiZhang555/runc,abduld/runc,chenchun/runc,booyaa/runc,dqminh/runc,WeiZhang555/runc,fabiokung/runc,nkwilson/runc,jhjeong-kr/runc,gitido/runc,intfrr/runc,ycaihua/runc,runcom/runc,docker/runc,laijs/runc,kimh/runc,mheon/runc,sallyom/runc,whuwxl/libcontainer,mrunalp/libcontainer,mheon/libcontainer,opencontainers/runc,axsh/runc,zhangyancoder/libcontainer,opencontainers/runc,calavera/runc,BrickXu/libcontainer,rhatdan/runc,rsampaio/runc,aidanhs/runc,jwuwork/runc,wcwxyz/runc,adrianreber/runc,mYmNeo/runc,crosbymichael/runc,zenlinTechnofreak/runc,justincormack/runc,Mashimiao/libcontainer,hxfeng/runc,meihuabo/runc,meihuabo/runc,LTD-Beget/libcontainer,haijunTan/runc,navidshaikh/runc,rhatdan/runc,ChengTiesheng/runc