adding timeout to directive and unit tests, used while integrating with other directives to queue processing of validations properly