Fix db handle leaks for Query
Fix db handle leaks for Query

mozilla-services/FindMyDevice,mozilla-services/FindMyDevice,mozilla-services/FindMyDevice,mozilla-services/FindMyDevice,mozilla-services/FindMyDevice