Fixed no TTY reset when you quit right away.