firing status change event right after status is changed

Fix for queued-queries counter is getting set to -1.
@Amareshwari Done.