protected function waitManagersDone()
{
$sleep = $this->getConfig(self::CONFIG_SLEEP_FINISH_MANAGER_LOOP);
while ($this->countManagerSet()) {
$this->cleanManagerSet();
$this->getLogger()->debug("Daemon finish threads (wait for 0): {$this->countManagerSet()}", [__NAMESPACE__]);
sleep($sleep);
}
return $this;
}