SENTRY-557: Handle Situation when Metastore restarts Listeners thereby resetting the sequenceCounter (Reviewed by : Lenni Kuff)