make Jetty wait for close before continue

Hi, I was having this issue as discussed here: https://groups.google.com/forum/#!topic/clojure/fpKG187FBQE

Then I saw your implementation and wondered if you had the same issue, so, I'm leaving this here in case you do :)