Fixed failed download handling.