public function wait() { if ($this->step == 'finished' || $this->step == 'error') { return $this; } return $this->refresh(['wait' => 'true']); }