Implement closeChannel (WIP)