forse non dovrei usare python se sto facendo threading.. meh troppo tardi