Properly daemonize and clean up the unused out file