added some more logging if a query times out