io: fix connection indices error

1 job for test in 45 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build #35883

00:00:45