Detect your death for do something.