code: protected Bitmap downloadImage() {
          int timesTried = 1;
  
          while (timesTried <= numRetries) {
              try {
                  byte[] imageData = retrieveImageData();
  
                  if (imageData != null) {
                      imageCache.put(imageUrl, imageData);
                  } else {
                      break;
                  }
  
                  return BitmapFactory.decodeByteArray(imageData, 0, imageData.length);
  
              } catch (Throwable e) {
                  QuickUtils.log.w("download for " + imageUrl + " failed (attempt " + timesTried + ")");
                  e.printStackTrace();
                  SystemClock.sleep(DEFAULT_RETRY_HANDLER_SLEEP_TIME);
                  timesTried++;
              }
          }
  
          return null;
      }
docs: after each and every download