GiGa R1 Cycles Between WiFi Connection and No Wifi Connection

I am having an issue with my cloud based sketch using the GiGa R1.
The sketch is simple. Using a switch on a dashboard I am turning a led off and on a breadboard. The switch does turn it on and off. The problem is that without touching the switch the led cycles on and off every minute or so. Using the Thing screen the status of the bool variable stays constant through out the led cycling on and off.
Below is a truncated print out of the Serial Monitor. The GiGa seems to cycle between having a WiFi connection and not having a WiFi connection. This seems to account for the LED cycling on and off.
One more thing the serial port also looses connection momentarily after the
"Thing ID: 38dc2419-ff85-4993-9075-8f70307f0a04". The moment is under 30 seconds or so.

Ultimate question is why is the GiGa WiFi cycling between being connected and not being connected?

Thanks in advance for any insight.

Serial Monitor Output Start
+++++++++++++++++++++++
Connected to "River Network"

ArduinoIoTCloudTCP::handle_SubscribeDeviceTopic could not subscribe to /a/d/56cb408a-767e-40d8-a85c-e6ddfeb63b4e/e/i

ArduinoIoTCloudTCP::handle_Disconnect MQTT client connection lost

Connected to Arduino IoT Cloud

Thing ID: 38dc2419-ff85-4993-9075-8f70307f0a04

Connected to "River Network"

Connected to Arduino IoT Cloud

Thing ID: 38dc2419-ff85-4993-9075-8f70307f0a04

Connected to "River Network"

Connected to Arduino IoT Cloud

Thing ID: 38dc2419-ff85-4993-9075-8f70307f0a04

Connected to "River Network"

ArduinoIoTCloudTCP::handle_SubscribeThingTopics could not subscribe to /a/t/38dc2419-ff85-4993-9075-8f70307f0a04/shadow/i

Check your thing configuration, and press the reset button on your board.

ArduinoIoTCloudTCP::handle_Disconnect MQTT client connection lost

Connected to Arduino IoT Cloud

Thing ID: 38dc2419-ff85-4993-9075-8f70307f0a04

Connected to "River Network"

Connected to Arduino IoT Cloud

Thing ID: 38dc2419-ff85-4993-9075-8f70307f0a04

Connection to "River Network" failed

Retrying in "500" milliseconds

Connected to "River Network"

Connected to Arduino IoT Cloud

Thing ID: 38dc2419-ff85-4993-9075-8f70307f0a04

+++++++++++++++++++++++++++++++
Serial Monitor Output End

Pattern repeats every minute or so.....

Upon further investigation there seems to be a Watch Dog Timer that maybe causing the problems. Even though there are no lines of code within the Loop(), accept:
ArduinoCloud.begin(ArduinoIoTPreferredConnection.
The only code resides within one of the varible calls outs at the bottom of the sketch:

The sketch:

/* 
  Sketch Blinds_Control_dec01a  Revision 1.0  12-23-2023  1200
  
  Sketch generated by the Arduino IoT Cloud Thing "Untitled 2"
  https://create.arduino.cc/cloud/things/38dc2419-ff85-4993-9075-8f70307f0a04 

  Arduino IoT Cloud Variables description

  The following variables are automatically generated and updated when changes are made to the Thing

  bool blackRiver10;
  bool blackRiver11;
  bool blackRiver12;
  bool blackRiver13;
  bool blackRiver14;
  bool culDeSac6;
  bool culDeSac7;
  bool culDeSac8;
  bool culDeSac9;
  bool incrMovement;
  bool photoCell;
  bool resetBlindsHome;
  bool resetController;
  bool sacoRiver1;
  bool sacoRiver2;
  bool sacoRiver3;
  bool sacoRiver4;
  bool sacoRiver5;

  Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
  which are called when their values are changed from the Dashboard.
  These functions are generated with the Thing and added at the end of this sketch.
*/
//  Include Libraries
#include<AccelStepper.h>
#include "thingProperties.h"

// Define Stepper Motor and pins
  AccelStepper sr1StepMtr(1,22,23);  //  where 1 - Two control wires;  22 - Step pin number;  23 - Direction pin number
  AccelStepper sr2StepMtr(1,24,25);  //  where 1 - Two control wires;  24 - Step pin number;  25 - Direction pin number
  AccelStepper sr3StepMtr(1,26,27);  //  where 1 - Two control wires;  26 - Step pin number;  27 - Direction pin number
  AccelStepper sr4StepMtr(1,28,29);  //  where 1 - Two control wires;  28 - Step pin number;  29 - Direction pin number
  AccelStepper sr5StepMtr(1,30,31);  //  where 1 - Two control wires;  30 - Step pin number;  31 - Direction pin number
  AccelStepper cds6StepMtr(1,32,33);  //  where 1 - Two control wires;  32 - Step pin number;  33 - Direction pin number
  AccelStepper cds7StepMtr(1,34,35);  //  where 1 - Two control wires;  34 - Step pin number;  35 - Direction pin number
  AccelStepper cds8StepMtr(1,36,37);  //  where 1 - Two control wires;  36 - Step pin number;  37 - Direction pin number
  AccelStepper cds9StepMtr(1,38,39);  //  where 1 - Two control wires;  38 - Step pin number;  39 - Direction pin number
  AccelStepper br10StepMtr(1,40,41);  //  where 1 - Two control wires;  40 - Step pin number;  41 - Direction pin number
  AccelStepper br11StepMtr(1,42,43);  //  where 1 - Two control wires;  42 - Step pin number;  43 - Direction pin number 
  AccelStepper br12StepMtr(1,44,45);  //  where 1 - Two control wires;  44 - Step pin number;  45 - Direction pin number
  AccelStepper br13StepMtr(1,46,47);  //  where 1 - Two control wires;  46 - Step pin number;  47 - Direction pin number
  AccelStepper br14StepMtr(1,48,49);  //  where 1 - Two control wires;  48 - Step pin number;  49 - Direction pin number
    
//  Define Constants
  #define sr1StepPin 22  //  Saco River 1 stepper motor rotational movement
  #define sr2StepPin 24  //  Saco River 2 stepper motor rotational movement  
  #define sr3StepPin 26  //  Saco River 3 stepper motor rotational movement
  #define sr4StepPin 28  //  Saco River 4 stepper motor rotational movement
  #define sr5StepPin 30  //  Saco River 5 stepper motor rotational movement
  #define cds6StepPin 32  //  Cul De Sac 6 stepper motor rotational movement
  #define cds7StepPin 34  //  Cul De Sac 7 stepper motor rotational movement
  #define cds8StepPin 36  //  Cul De Sac 8 stepper motor rotational movement
  #define cds9StepPin 38  //  Cul De Sac 9 stepper motor rotational movement
  #define br10StepPin 40  //  Black River 10 stepper motor rotational movement
  #define br11StepPin 42  //  Black River 11 stepper motor rotational movement
  #define br12StepPin 44  //  Black River 12 stepper motor rotational movement
  #define br13StepPin 46  //  Black River 13 stepper motor rotational movement
  #define br14StepPin 48  //  Black River 14 stepper motor rotational movement
  #define sr1DirPin 23  //  Saco River 1 stepper motor rotational direction
  #define sr2DirPin 25  //  Saco River 2 stepper motor rotational direction  
  #define sr3DirPin 27  //  Saco River 3 stepper motor rotational direction
  #define sr4DirPin 29  //  Saco River 4 stepper motor rotational direction
  #define sr5DirPin 31  //  Saco River 5 stepper motor rotational direction
  #define cds6DirPin 33  //  Cul De Sac 6 stepper motor rotational direction
  #define cds7DirPin 35  //  Cul De Sac 7 stepper motor rotational direction
  #define cds8DirPin 37  //  Cul De Sac 8 stepper motor rotational direction
  #define cds9DirPin 39  //  Cul De Sac 9 stepper motor rotational direction
  #define br10DirPin 41  //  Black River 10 stepper motor rotational direction
  #define br11DirPin 43  //  Black River 11 stepper motor rotational direction
  #define br12DirPin 45  //  Black River 12 stepper motor rotational direction
  #define br13DirPin 47  //  Black River 13 stepper motor rotational direction
  #define br14DirPin 49  //  Black River 14 stepper motor rotational direction
  #define travelDist 50  //  Blinds full travel rotational steps [ 16000 is full travel for stepper motor using 1600 steps]

void setup() {
  //  Output Pin Modes
    pinMode(2,OUTPUT);
    pinMode(4,OUTPUT);
  
  // Initialize serial and wait for port to open:
  Serial.begin(9600);
  // This delay gives the chance to wait for a Serial Monitor without blocking if none is found
  delay(1500); 

  // Defined in thingProperties.h
  initProperties();

  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection, false);
  
  /*
     The following function allows you to obtain more information
     related to the state of network and IoT Cloud connection and errors
     the higher number the more granular information you’ll get.
     The default is 0 (only errors).
     Maximum is 4
 */
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();
}

void loop() 
{
  ArduinoCloud.update();
  // Your code here 
  
  
}




/*
  Since SacoRiver1 is READ_WRITE variable, onSacoRiver1Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onSacoRiver1Change() 
{
  while (sacoRiver1)
  {
    digitalWrite(2,HIGH);
    if(incrMovement)
    {
      digitalWrite(4,HIGH);
      //sr1StepMtr.moveTo(sr1StepMtr.currentPosition()-50);
      //sr1StepMtr.runToPosition();
    }
    else
    {
      digitalWrite(4,LOW);
      //sr1StepMtr.moveTo(0);
      //sr1StepMtr.runToPosition();
    }  
  }
  while (!sacoRiver1)
  {
    digitalWrite(2,LOW);
    if(incrMovement)
    {
      digitalWrite(4,HIGH);
      //sr1StepMtr.moveTo(sr1StepMtr.currentPosition()+50);
      //sr1StepMtr.runToPosition();
    }
    else
    {
      digitalWrite(4,LOW);
      //sr1StepMtr.moveTo(travelDist);
      //sr1StepMtr.runToPosition();
    }  
  }
}

/*
  Since SacoRiver2 is READ_WRITE variable, onSacoRiver2Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onSacoRiver2Change()  {
  
}

/*
  Since SacoRiver3 is READ_WRITE variable, onSacoRiver3Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onSacoRiver3Change()  {
  // Add your code here to act upon SacoRiver3 change
}

/*
  Since SacoRiver4 is READ_WRITE variable, onSacoRiver4Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onSacoRiver4Change()  {
  // Add your code here to act upon SacoRiver4 change
}

/*
  Since SacoRiver5 is READ_WRITE variable, onSacoRiver5Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onSacoRiver5Change()  {
  // Add your code here to act upon SacoRiver5 change
}

/*
  Since CulDeSac6 is READ_WRITE variable, onCulDeSac6Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onCulDeSac6Change()  {
  // Add your code here to act upon CulDeSac6 change
}

/*
  Since CulDeSac7 is READ_WRITE variable, onCulDeSac7Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onCulDeSac7Change()  {
  // Add your code here to act upon CulDeSac7 change
}

/*
  Since CulDeSac8 is READ_WRITE variable, onCulDeSac8Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onCulDeSac8Change()  {
  // Add your code here to act upon CulDeSac8 change
}

/*
  Since CulDeSac9 is READ_WRITE variable, onCulDeSac9Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onCulDeSac9Change()  {
  // Add your code here to act upon CulDeSac9 change
}

/*
  Since BlackRiver10 is READ_WRITE variable, onBlackRiver10Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onBlackRiver10Change()  {
  // Add your code here to act upon BlackRiver10 change
}

/*
  Since BlackRiver11 is READ_WRITE variable, onBlackRiver11Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onBlackRiver11Change()  {
  // Add your code here to act upon BlackRiver11 change
}

/*
  Since BlackRiver12 is READ_WRITE variable, onBlackRiver12Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onBlackRiver12Change()  {
  // Add your code here to act upon BlackRiver12 change
}

/*
  Since BlackRiver13 is READ_WRITE variable, onBlackRiver13Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onBlackRiver13Change()  {
  // Add your code here to act upon BlackRiver13 change
}

/*
  Since BlackRiver14 is READ_WRITE variable, onBlackRiver14Change() is
  executed every time a new value is received from IoT Cloud.
*/
void onBlackRiver14Change()  {
  // Add your code here to act upon BlackRiver14 change
}


/*
  Since IncrMovement is READ_WRITE variable, onIncrMovementChange() is
  executed every time a new value is received from IoT Cloud.
*/
void onIncrMovementChange()  {
  // Add your code here to act upon IncrMovement change
}

/*
  Since PhotoCell is READ_WRITE variable, onPhotoCellChange() is
  executed every time a new value is received from IoT Cloud.
*/
void onPhotoCellChange()  {
  // Add your code here to act upon PhotoCell change
}

/*
  Since ResetBlindsHome is READ_WRITE variable, onResetBlindsHomeChange() is
  executed every time a new value is received from IoT Cloud.
*/
void onResetBlindsHomeChange()  {
  // Add your code here to act upon ResetBlindsHome change
}

/*
  Since ResetController is READ_WRITE variable, onResetControllerChange() is
  executed every time a new value is received from IoT Cloud.
*/

void onResetControllerChange()  {
  // Add your code here to act upon ResetController change

}

The purpose of the sketch is to turn on a stepper motor ( 1 of 14) when a dashboard switch is pressed. It can either move an automatic distance of "travelDist" or move 50 steps when the "incrMovement" button is also pressed. The only stepper motor button that currently has lines of code is "sacoRiver1". The digital inputs, 2 and 4, are used to light LEDs when the bool "sacoRiver1" is true and when the bool "incrMovement" is true.