[TASK] wait for validation before returning tec error
Merge pull request #206 from geertweening/fix/tec_wait_for_validated

[TASK] wait for validation before returning tec error