Try fix deadlock in cacodaemons.