Event that handles the closing of a channel
Checks if the event applies to the message.
Handles the event.