Not sure but it sounds like it is waiting on input again. So your help text was displayed and now it is looking for maybe the "Exit command?

Try adding

input.WriteLine("exit");

After...