tty: close epollConsole on errors
tty: close epollConsole on errors

make sure epollConsole is closed before returning an error.  It solves
a hang when using these commands with a container that uses a
terminal:

runc run foo &
ssh root@localhost runc exec foo echo hello

Signed-off-by: Giuseppe Scrivano <20002b7b24c75512093a71a58285826d5c504fca@redhat.com>

opencontainers/runc,mheon/runc,laijs/runc,estesp/runc,justincormack/runc,rhatdan/runc,cyphar/runc,opencontainers/runc,mheon/runc,kolyshkin/runc,cyphar/runc,adrianreber/runc,mYmNeo/runc,rhatdan/runc,cyphar/runc,laijs/runc,crosbymichael/runc,estesp/runc,mYmNeo/runc,estesp/runc,mikebrow/runc,laijs/runc,dqminh/runc,rhatdan/runc,xiaochenshen/runc,justincormack/runc,mikebrow/runc,crosbymichael/runc,justincormack/runc,mikebrow/runc,mheon/runc,mYmNeo/runc,kolyshkin/runc,dqminh/runc,xiaochenshen/runc,xiaochenshen/runc,opencontainers/runc,dqminh/runc,adrianreber/runc,opencontainers/runc,kolyshkin/runc,dqminh/runc,adrianreber/runc,crosbymichael/runc,rhatdan/runc,kolyshkin/runc