added debug info, why isn't ch0 getting cleared?
added method to disconnect channel (unsafe), and debug info