Ignore Live Dev toggle when in a connecting state

See #7014.

Spun off from #7049.