Merge pull request #41 from aghassemi/master

Fixing a bug where process was not exiting with failure exit code
1.14.3