If an unhandled exception occurs in the state manager persistence thread, it can bubble and kill the thread. Since there is nothing to make sure the thread is alive, all state changes are ignored from the point on for the tenant. Add better exception handling to prevent uncaught exceptions from killing the thread.