examples/io_uring-cp: wait for pending writes before exit copy loop

We could be ending the loop with all reads done, but with pending writes
that we haven't waited for yet. Ensure that we do so.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed