Use custom `Thread` class to set priority properly.