add feature to daemonize application