private function destroyClient(): void
    {
        ++$this->reconnects;
        $this->client = null;
        $delay = mt_rand(0, (int)min(5000, (int)pow(2, $this->reconnects) * 100));
        usleep($delay * 1000);
    }