     client.println( "DISCONNECT" );
     client.print( "receipt:disconnect-" );
     client.println( body );
+    client.println();
     client.write( ZEROBYTE);
     
     state = DISCONNECTING;
+    lcd.setCursor(0, 7); lcd.clearLine(); lcd.print("Disconnecting..." );
     Serial.println( "Disconnecting..." );
   }
   

#define LOGIN    " "
#define PASSCODE " "
#define PORT     61613
#define TOPIC    "/topic/heart"
#define ZEROBYTE (uint8_t)0x00

// Constants for STOMP

    client.print( "id:" );
    client.println( session );
    client.print( "destination:" );
    client.println( QUEUE );
    client.println( "receipt:subscribed" );
    client.println();
    client.write( ZEROBYTE);
    
    // Subscribing to queue
    Serial.println( "Subscribing to queue..." );
    state = SUBSCRIBING;   
  } else if( state == SUBSCRIBED ) {
    counter = counter + 1;
    body = "{\"deviceID\": \"Industruino\", \"text\": \"Hello\"}";
    
    client.println( "SEND" );
    client.print( "destination:" );
