TEIIDDES-1575 - corrects issue with refresh job wait method