SES-1947 : Handle multiple calls to setStopAtFirstError correctly