Should we close `rd` after this?