thread-safe access to url hashing