Improve logging
This PR improves the debug logging for Sessions, mainly by using nullcontext
to ensure that existing connections aren't closed twice when nested.
This PR improves the debug logging for Sessions, mainly by using nullcontext
to ensure that existing connections aren't closed twice when nested.