ignore terminated instances
Merge pull request #6 from Congruentsys/master

ignore terminated instances