change thread join methods