[fix] print nice error for connection issue
[test] connection and response error handling