protected function resetLdapControls(LdapOperationInterface $operation)
    {
        foreach ($operation->getControls() as $control) {
            $value = $control->getValue();
            $control->setValue($control->getResetValue());
            $this->connection->setControl($control);
            $control->setValue($value);
        }
    }