cleanup prepared query disposal