more attempts to get thread num