Fix skipping messages when subscriber is restarted multiple times.