Fix race condition in IT

Change-Id: Ia47a93e7cd80e8aceefe3b42085d976657610238
Signed-off-by: Lorand Jakab <lojakab@cisco.com>