Fix a leak of threads between each test

Hello,

As the current version never close the SessionManager, its thread pool is never released.
Moreover as each test in a test class instanciate a new SessionManager, the thread count always growing.

This patch permits to release the client thread pool after each test.