Use return in stread of callback