deprecate unGetChan and isEmptyChan (see #4154)