Using polling in color assessment instead of waiting for an specific time

Change-Id: I4edd82ad90c6648027bce464f163ad21bd2d8a12