fds: Simplify fd close condition in tun_set_route