some pid to tid; move do_stop_watching from stop_sample to start_sample