Protect rpc warmup status by mutex.