In linux platform:
When we login to mongo server in shell with `-p` args but don't pass the password in the argument list, then mongo shell will prompt us `Enter password:` to enter the password from stdin. At that time, if we send `ctrl +c`(SIGINT) to stdin, the mongo shell will be closed, but at the same time, user's os shell will be crashed, and we will input nothing in the shell. We must close the whole shell session and login again to do other maintaining job.
In windows platform, there is no such problem.
I think we should ignore `ctrl c` when we type password in stdin, just like other database client shell, such as mysql.