query service: minor tweak in shutdown.

RowcacheInvalidator should be shut down before SchemaInfo. Otherwise,
it may lead to false invalidation alarms due to its inability
to find tables in the schema. This also conforms to the rule
that Close should be done in reverse order of Open.