def wait_until_finished(self):
try:<EOL><INDENT>self.thread.join()<EOL><DEDENT>except KeyboardInterrupt:<EOL><INDENT>self._logger.debug('<STR_LIT>')<EOL>self._active = False<EOL>self._wake_queue()<EOL><DEDENT>
Blocking method to wait until the driver finished its execution.