This code now executes if `chan` is invalid and in many other invalid cases.

-[Unknown]