Merge changes from topic "lshal-async" into main

* changes:
  Revert^2 "lshal: use std::async"
  lshal: flush at the end of Lshal::main().