Changes to fix issue #240 which was preventing JMX stats collection when hadoop processes gets restarted
Merge pull request #241 from bijugs/fix_issue_240

Changes to fix issue #240