do not shutdown notebook if 'n' is part of answer

this prevents commands like 'yesn' to shut down the notebook server
Merge pull request #5546 from renaud/master

do not shutdown notebook if 'n' is part of answer