[PATCH] Daemon: use double fork for daemonization