kdig: fix retrying query over TCP if truncated

refs #2137

Change-Id: I43856d5f62836db2aff4c2349d186ccb5e3c68b7