When thread is killed LED turns off