Use a subclass for Threads