Cannot access a private thread