Protect against spurious connection events.