public function restart(callable $fn = null) { $this->retries += 1; $this->process = $this->process->restart($fn); return $this; }