Started shell. While loop which exits on exit.