 
     }
 
-    // Wait 5 seconds
-    delay(5000);
+    // Wait 2 seconds
+    delay(2000);
 
 /* SEND AND GET INFORMATION FROM SERVER - END */
 }

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



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

    // Wait 2 seconds
    delay(2000);

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