[picoQL-Valgrind] Polling for queries in Memcheck.