                      :class   op-i
                      :replyTo uuid
                      :body    (if (:body req2) (json/generate-string (:body req2)) nil)})
+      (clojure.tools.logging/log :info "Sent the request over the wire to the IDE/App ")
       (let [answer (deref p 10000 ::failed)]
         (if (= ::failed answer)
-          {:status 500 :headers {"Content-Type" "text/plain"} :body "Didn't get the answer"}
+          (do
+            (clojure.tools.logging/log :info "Timed Out after 10 Seconds")
+            {:status 500 :headers {"Content-Type" "text/plain"} :body "Didn't get the answer"})
           (let [response (:response answer)
                 response (update response :headers fu/stringify-keys)
                 response (if (and (:body response) (:decodeBody answer))

  [& args]
  (run-server)
  (setup 54657)
  )

(defn http-handler
  [req]
  (clojure.tools.logging/log :info "Incoming request to " (:uri req))
  (if-let [swagger (::swagger @shim-socket)]
    (let [app (make-app swagger)
          resp (app req)]
      resp
      )
    (do
      (clojure.tools.logging/log :info "No Connection from dev-shim or no Swagger file defined")
      {:status 404 :headers {"Content-Type" "text/plain"} :body "No Swagger Defined. Unable to route request\n"})
    ))

(defonce end-server (atom nil))
