petite correction du Thread pour ne jamais l'arréter
Modify a bit the way the thread is working in the LegacySensor - I did'nt like that this thread is never stopped ;)