add r_io_reopen

better now?
Why not `desc = NULL;` instead?