Added debug logging for read loop latency.