Interesting. Perhaps your subconscious is trying to protect you by directing this death-thinking to yourself, so you don't direct it at any family member you don't want to lose. It's an idea- another would be that maybe there is something important ending in your life and you are processing it as a death.