redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD.