cli: show error on failed connection

Previously the cli just exited with code 141. I kept that and added an error message.

https://github.com/SpriteLink/NIPAP/issues/600