cheat the hangman
Verb
Meaning
To die, especially by suicide, while under sentence of death, or while guilty of a capital crime; also, to kill someone else who is in such a state.
To escape punishment for one's crimes; to get away with something.
Source: en.wiktionary.org