Both of these branches set `urandom_fd` to `-1`.