Added thread safe table access to the JOIN table