/**
  * Handles SyncTaskCompleteEvent and stops propagation if needed.
  *
  * @param SyncTaskCompleteEvent $event
  */
 public function handleEvent(SyncTaskCompleteEvent $event)
 {
     if ($this->halt) {
         $event->stopPropagation();
     }
 }