CloseChannel Method
Closes a channel.
Syntax
public fun closeChannel(channelName: String?)
Remarks
This method closes the channel named ChannelName and removes it from the Channels collection.
If no channel with the given ChannelName exists, an exception will be thrown.