add crash stopper for detecting crash
Merge pull request #3 from altsai/stop_when_crashed

Stop when crashed