Updated examples so reconnection works