shutdown sqlite to get clean valgrind output.