make sure the instance is actually running

- for example, in terminated state