Most standard form contracts contain provision for this, one such example is JCT Standard Building Contract 2009 clause 3.18. Ultimately, the architect has the legal right to issue a default notice and terminate the contract should a contractor fail continually to rectify poor work.