CLIAdapter now gracefully handles EOF