compiler warning fix

follow-up to commit ed7174c6f66, rename 'wait' to 'block'