public void Finish()
    {
        if (idle_start.IsPending || step.IsPending)
        {
            AllowFinish = false;
            return;
        }

        if (importer != null)
        {
            importer.Finish();
        }

        importer = null;
    }