Enable ns_server shutdown on EOL to stdin (in addition to EOF)