Handle accessing trouble to maven.treasure-data.com

Changes:
- Handle SocketError, Net::HTTPBadResponse, Errno::ECONNREFUSED
  suppressing the stack trace and returning the error message
- Avoid progressing in the update of the jar file if any
  connection trouble occurred

Fix for CLT-280