/** * Removes all references to instantiated objects, and changes the thread's state to "not alive". * Method alive() returns false when the cleanup() method has completed. */ @Override protected void cleanup() { kill(); super.cleanup(); // Important!! }