tty: nozomi, fix tty refcounting bug