Remove dead thread.