This should be incremented as early as possible, before all the stuff is stopped.