procman: do not use pointers but ids when waiting for io