Use Thread.sleep instead of SystemClock.sleep