mongod doesn't handle SIGHUP (such as are delivered when the user closes the terminal in which the mongod is running).