             errorHandler: onError
         ) else {
             logError("Unable to create incident types connection?")
-            loadingState = IMSLoadingState.Reset
+            resetConnection()
             return
         }
 


        func onError(message: String) {
            logError("Error while attempting ping request: \(message)")
            loadingState = IMSLoadingState.Reset
        }

        logInfo("Sending ping request to: \(pingURL)")


        func onError(message: String) {
            logError("Error while attempting incident types request: \(message)")
            resetConnection()
        }

        logInfo("Sending incident types request to: \(typesURL)")
