subclass threading.Thread