code: def stop(self):
          
          self.stop_flag.value = True
          with self.lock:
              (
                  Control().text(C(' ', style='reset_all'))
                  .pos_restore().move_column(1).erase_line()
                  .write(self.file)
              )
docs: Stop this WriterProcessBase, and reset the cursor.