to make StopThreadControl and StartThreadControl