Add connection degradation support to invalidate_all()

Closes #89