Check the threadId is 16 bit unsigned