Add command line option to daemonize iiid process

Add command line option to daemonize iiid process