replace Thread.sleep to PollingCheck

Change-Id: Ieac368e99b3cca39839d6d14748063d51891ae3e
1 file changed