Added logging to see number of queries in flight