error checking
channel exception is a ValueError
cleanup