protected function launch(\Closure $func)
    {
        foreach ($this->manager->getPool()->getPriority('transaction') as $managerName) {
            $func($this->manager->getPool()->getManager($managerName));
        }
    }