OS-3504 prctl(PR_SET_NAME) should only work for thread 1