def METHOD_NAME(self):
    # since `close` is scheduled to run on exit we must check that we got
    # a connection or the program will hang in the `join` call above
    if self._accepter and self._accepter.is_alive():
        return
    super(listen, self).METHOD_NAME()