firing status change event right after status is changed

Fix for queued-queries counter is getting set to -1.
You can store the gauge into a variable like we are doing for counters and return the value from guage for getter methods