finish multithread job