Thread sleeping
Conflits corrigés + version testable