Remove the resource if its downloading and its reference count has
become 0 after RELEASE. This maybe because a container was killed while
localizing and no other container is referring to the resource.