Add support for daemonizing the executable