When connecting, the UI queues up some VPN states

to reproduce:

  • connect vpn
  • observe that connection icon changes to "connecting" (yellow)
  • the status poller gets stuck (we're blocking on vpn_connect)
  • the state transitions gets queued up (which cause some flicker to "off" state)
  • after successful connection, all the states are displayed (connected, green).

by watching the bitmaskd logs, it can be seen that no connecting->off transition has happened, so this is an UI issue.