thread::run is working