public function cancelJob() { try { $this->killChild(); } catch (Exception\Shutdown $e) { throw new Exception\Cancel('Cancel signal received'); } }