return thread to pool after session close