Wait for instance to be shut off after "nova stop"

We were rebooting the compute node too fast, and the instance was still
marked as ACTIVE, in the powering-off task state which was never
completed.