ensure that we only re-register listeners when we're a new session