Use sp->master instead of bestThread