   This limits the sending of updates to the server by sending a maximum of 10 once every minute
   or once the array of requests reaches its maximum
   */
-  if(timeout_timedout() || qCount == QMAX){
+  if(loopCount > 9 || qCount == QMAX){
     if(qCount > 0){//will only send if q isn't empty
       DEBUG_PRINT(F("Made it to server update. Number of messages: "));
       DEBUG_PRINTLN(qCount);

{
  DEBUG_INIT(9600);
  xbee.begin(XBEE_BAUD); // Communicates with node
  timeout_init(5000);//Starts timer for updates to be sent to server
  
  /*This starts the network connection*/
  while (!simcomm.isOn()) {

//Keeps track of the number of messages to be sent to the server
int qCount = 0;

int loopCount = 0;

//These arrays are what hold the different parts of the messages to be sent to the server
String nodeIds[QMAX];
int spacesAvail[QMAX];
