comment added for translation
a better fix for detecting 502 errors in
CandlepinTasks.getResourceUsingRESTfulAPI()