Fix nocache_tests.test_query_timeout