Resolution erreur setThread()