Fix ChannelManager.closeChannel NPE, close #681