Fixed crash that sometimes happened at shutdown
bz19509: fix item rendering for items that we will retry.

Added code to render the items correctly.

Moved code to update the "retrying in..." label from the backend to
the frontend.
bz19509: Consider DNS lookup errors "temporary" and retry the download