Fortunately it's usually incredibly obvious in the first day or two when this happens. You have to cut your losses early in those cases. Before I banned all India based firms I would sometimes hire 3 of them for a small project and then hire the one that actually performed well for whatever bigger project I actually wanted done. But sadly for them it's now easier to just not hire there at all.