avoid terminated instances on is-running detection