why cannot I create a thread?