Better error handling of JAR download