apps and ssh modes now exit