std::thread is movable, no need to use unique_ptr.

A `std::thread` is already a unique handle on a resource, there is no need to allocate it on the heap and store it in a `unique_ptr`.