don't do system.exit when running in the daemon process