Simplify check for normal stop operation

Simplify check for normal stop operation
Merge pull request #10 from BenTam/patch-1

Simplify check for normal stop operation