extending 'wait for chef' for other states