It is done.

I have added acquire and release for other query operations like

* Query Status polling 
* Query purging.

How do we handle prepared query cases?