Adding support for the removal of channels and uaid upon web socket
close.