Tighten error handling of lein autoconnect

Fixes #28.