Error getting single thread