tty: make the kref destructor occur asynchronously