public void function interrupt( any thethread )
Interrupts the given thread, allowing it to gracefully shutdown.