fix a warning on Thread c'tor