Autoclose channel on destruct