control (it needs to complete all pending RPCs and save state before the primary reads state and takes over).