Fix Thread leaking in ThreadLocalVariables

- introduce #bind method to avoid value leaks
- warn on using just #value=
Looks good to me :+1: I think we can merge this PR after you test the build.