Indicate call to setValue will fail
Remove ThreadLocal after use.

So Tomcat stops complaining about ThreadLocal instances that were not removed
when the web application is stopped.
Fixes #1