WakeupQueue: pdest copy
fix merge errors
wakeupQueue: flush pending wakeup requests when canceling
utils: add PipeWithFlush