Merge pull request #176 from pamod/mqtt_dev

MQTT, adopting to the new method additions in relation to keep track on ...
Fixing the NullPointerException issue encountered during increment/decrement operations. The issue was related to concurrent modification