rlm_cache locking (or not)