Alter call to Process.daemon

Doing this gets rid of the hangs when using BACKGROUND=yes.

Also makes kill -3 work again.