query client finished