docs: def close(self):
          """Close subscription.
          """
          if self._S is not None:
              # after .close() self._event should never be called
              self._S.close()
              self._S = None
              self._Q.Signal(None)
              self._T.Wait()