Fixed hanging channel to fix massive memory leak.