ajout listeners
threads client