handling the end of reconfiguration at both leader and other nodes