public function postImport($result, CommandData $commandData) {
    if ($commandData->input()->getOption('userid')) {
      $accountSwitcher = \Drupal::service('account_switcher');
      $this->logger()->notice(dt(
                                  'Switching back from user @uid.',
                                  ['@uid' => \Drupal::currentUser()->id()]
                                ));
      $accountSwitcher->switchBack();
    }
  }