protected function _spin($closure) { if (($timeout = $this->timeout()) < 0) { $closure(); } else { Code::spin($closure, $timeout); } }