Add failsafe statement at the end
Merge pull request #4 from jni/failsafe

Add failsafe statement at the end