                 statuses[1] == String("Deleted")) {
           Particle.disconnect();
      }
-    // Wait 5 seconds
-    delay(5000);
+    // Wait 2 seconds
+    delay(2000);
 /* RETRY CONNECTION WITH Wi-Fi - END */
 
 


    }

    // Wait 5 seconds
    delay(5000);

/* SEND AND GET INFORMATION FROM SERVER - END */
}

        Particle.publish("sendSocketInformation", jsonSendSocketInformation, PRIVATE);
    }

    // Wait 2 seconds
    delay(2000);

    if (statuses[1] == String("Active")) {
        // Send reading data
