vpn-provider: Set state when connecting and disconnecting