Closurefix

Add some extra checks to prevent callbacks from triggering exceptions on dead channels.