Correctly handle nested blockWhile()s.