xrdp-ng-sesman: start modifying sesman to make use of WaitForMultipleObjects