daemonize returns nil or int > 0. And this line fails when daemon_id is nil