emacs doesn't die when shell exits