Changes to fix issue #240 

The issue which was preventing JMX stats collection into graphite when hadoop processes gets restarted.