Thanks for the explanation! Would you accept a patch changing threadId to long everywhere?