reword clojure connection handling

still not quite happy with it.