Use java 8 method for ThreadLocal initialization.
Leave it up to the user to shutdown transactions in other threads - can't easily do that globally from close().