Checking for isDead() at a more reasonable location.

Signed-off-by: fr1zle <f@br0tbox.de>