Use prober instead of  a Thread.sleep