Added code to fix the failure in parallel branch
Merge pull request #12 from ruchi123/test_parallelism

Added code to fix the failure in parallel branch