Scusate l'errore, ho sbagliato a scrivere thread.
Comunque grazie, tutto a posto