Makes Pig thread safe
Merge pull request #7 from ribot/fix_concurrency

Makes Pig thread safe