                 logInfo("Successfully connected to IMS Server: \(self.url)")
                 _connected = true
             }
+
+            func onError(message: String) {
+                logError("Error while attempting ping request: \(message)")
+                _connected = false
+            }
+
+            logInfo("Attempting ping request to: \(pingURL)")
+            self.httpSession.send(
+                request: request,
+                responseHandler: onResponse,
+                errorHandler: onError
+            )
         }
     }
     private var _connected: Bool = false
 
 
     func reload() -> Failable {
-        ping()
+        connect()
 
 
 



    func createIncident(incident: Incident) -> Failable {
        ping()
        return Failable(Error("Unimplemented"))
    }


    func updateIncident(incident: Incident) -> Failable {
        ping()
        return Failable(Error("Unimplemented"))
    }


    func reloadIncidentWithNumber(number: Int) -> Failable {
        ping()
        return Failable(Error("Unimplemented"))
    }


                headers: HTTPHeaders,
                body:[UInt8]
            ) {
                if url != pingURL {
                    logError("URL in response does not match URL in ping request: \(url) != \(pingURL)")
                    return
                }

