This check will stop the thread doing the IaaS polling as soon as the instance becomes running. We don't want that to happen, because OpenStack will eventually change the hostname to the correct one.

But good point, I guess I could add running to this list of states.