Explicitly close result sets for sqlite.
Age completion metadata properly