Fix bug for starting client daemons.