isReplicationEnding

True while the entities still waiting at the end of a replication are terminated, and their finally blocks and termination hooks (Entity.handleTerminatedProcess) run. A wake-up or an activation asked for then is dropped, since no event can happen any more; a termination hook can read this to skip building a recovery entity. At any other time after the replication's events have ended, scheduling is an error.