Stop thread immediately