make query calls async