destroy method

void destroy()

Disconnect redis connection

Implementation

void destroy() async {
  _shouldReconnect = false;
  _shouldThrowErrorOnConnection = false;
  _redisSocket?.destroy();
}