Retire the SQL query store