- rationalized waiting logic - timeout and wait are unsigned int (not label) since this is what the underlying sleep uses anyhow.
- rationalized waiting logic - timeout and wait are unsigned int (not label) since this is what the underlying sleep uses anyhow.