Limit use of global lock in RPCs.