modify try catch block
Merge pull request #87 from krharsh/test_parallelism

modify try catch block