cli: show error on failed connection

Previously the cli just exited with code 141. I kept that and added an
error message.
Merge branch 'dosomder-cli/600-connection-error'