In order to get the correct pid, we should daemonize before writing the pidfile
Merge branch 'master' of https://github.com/szatam/ndppd