Removed a deadlock from the daemons.