If you use roc connect to connect to an instance, it hangs when the instance quits at the end of the job. Ideally it should exit, but at least there should be a way to terminate it (e.g. ctrl-C, ~.). Right now I cannot terminate it from the terminal, I have to go to another terminal window, find the session-manager-plugin process, and kill -HUP it.
Furthermore, after killing the session manager, the terminal is in a bad state, and I need to restore it with stty sane.