#57 fixed concurrency issue in ThreadLocal