Bug 8024: Check for null/closed channel before probing.