rework example so that commits missed between reconnects are sent