             json: nil,
             responseHandler: onResponse,
             errorHandler: onError
-            ) else {
-                logError("Unable to create ping connection?")
-                resetConnection()
-                return
+        ) else {
+            logError("Unable to create ping connection?")
+            resetConnection()
+            return
         }
 
         loadingState = IMSLoadingState.Trying(connection)

            json: nil,
            responseHandler: onResponse,
            errorHandler: onError
            ) else {
                logError("Unable to create incident list connection?")
                resetConnection()
                return
        }

        addConnectionForLoadingGroup(

            json: nil,
            responseHandler: onResponse,
            errorHandler: onError
        ) else {
            logError("Unable to create personnel connection?")
            resetConnection()
            return
        }

        addConnectionForLoadingGroup(
