Refactor connection status

- Remove connected variable
- Add status property instead
3 jobs for master in 3 minutes and 24 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #15291
run-appdata

00:00:07

passed #15290
run-tests

00:03:05

 
  Build
passed #15292
run-build

00:00:11