Fix #9423 - race in mds_client_recovery