Added closeChannel