task-service rewritten in Clojure