Don't write state to disk when nothing changes