Container->get('SuperSearchDiffIndexTask'); $supersearchDiffIndexTask->execute(); $supersearchDiffIndexTask->cleanup(); } catch (\Exception $exception) { $supersearchDiffIndexTask->cleanup(); throw $exception; }