Explicitly exit from forked process to force file descriptors to be flushed

Fixes Issue #128 where incorrect number of daemons are created by God.