code: def close(self):
          
          if self.handle:
              self.router.del_handler(self.handle)
              self.handle = None
          self._latch.close()
docs: Unregister the receiver's handle from its associated router, and cause
          :class:`ChannelError` to be raised in any thread waiting in :meth:`get`
          on this receiver.