disable slave on consecutive job errors