removed println
fixed handling of IOException comming from clj-http