Update Cli.php

Bug that was preventing daemonizing