you can only reset the terminal modes once (changing from !ICANON to