Redirect mongod's output to /dev/null, not a pipe.