Threads leak

Hello,

As the current version never close the SessionManager, its thread pool is never released.
And 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.