[TE] Added multi threading execution support.