A pattern that I saw recently is use use the form of `$_wait` instead of `$wait_real` (the preceeding `_` indicating that the variable was munged).