Added reconnection number saving.