boolean retry(Throwable e) {
if (e == null)
return true;
if (e instanceof DownloadIOCodeError) {
DownloadIOCodeError c = (DownloadIOCodeError) e;
switch (c.getCode()) {
case HttpURLConnection.HTTP_FORBIDDEN:
case 416:
return true;
default:
return false;