You call use Thread.kill or Thread.terminate:

thr = Thread.new { ... }
Thread.kill(thr)