fix bug where everything fails if new master is offline during a view change