what does it mean? shouldn't it be `_logger.debug("waiting for result")` and placed above `self._finished.wait()` ?