Many people are often forced to close the app in between a conversation or something due to a real life occurrence, such as a phone call, a real conversation, or sleep (without which your body is unable to function).....etc...
Getting mad is truly not an acceptable response. If he were not answering for a prolonged period of time, such as 24 hours, i could see how you may have become agitated, however; threatening one and those important to them (as the screenshot clearly proves you did) is an unacceptable way to respond