use thread_kill to send signal to a thread