Proper thread-safe implementation for Exninfo.