Fix restore with `ORC` race