It might have worked. Death is only a side effect.
Technically, by killing the body, he has killed the HIV virus. Or at least he’s quarantined it 6 feet under.