Fix channel reference leak.