forse è meglio se apri un nuovo thread, qui si perde.