v.21.11Improvements

Fix releasing query ID and session ID in gRPC query processing

Fix releasing query ID and session ID at the end of query processing while handing gRPC call. #29954 (Vitaly Baranov).
Fix the release of query ID and session ID resources at the end of query processing for gRPC calls.

Why it matters

This fix ensures that query ID and session ID are properly released after processing gRPC queries, preventing potential resource leaks and improving stability when handling gRPC calls in ClickHouse.

How to use it

This fix is applied internally to the gRPC query processing logic and requires no additional user action. Users will benefit from improved resource management automatically after upgrading to the version containing this fix.