add r_io_reopen

better now?
Because desc is passed as reference, and setting it to null would be a nop