don't hold onto query - fix for query double release