Thread pool, connexion et application client