Note that 'interactive' state is reached before complete, so not sure if we should check for both.