if hero is dead exit application