added maximumRobocopyFails check