Update ampy.py

- add pretty message for print "%s" % AMPError()
- fix infinite loop when the remote server disconnect between a connect() and a call()