Tracking issue for #10095
Currently the session client workers outlive the client, which may cause use of closed or released resources. This often can show up as flaky tests. Quite possibly something like #9758 (comment)
Similarly, the tests should wait for the server completely shutdown, otherwise there's a similar problem.