fe7c9db
ensure that wait() is being called only in wait state * I'm little bit suspicious that something is calling wait() from other states as well * This is to keep track of such calls, so we can identify them later