Remove sleep in busy wait in refreshBricks()

Operations in PWP are very fast, making any sleep potentially wasteful.
 Instead do a busy wait.