Sleep as a temporary fix for filesystem race bug