After my kid's second attempt, I unemotionally told him that we are unable to deal with those mental health issues at home and if he ever feels that way again he needs to tell me so we can take him somewhere where he can be kept safe. He listened and those behaviors stopped. It was a way of setting boundaries, at least around those behaviors.