Become a daemon using fork