localCI: use the proper way to start go routines in a loop
localCI: use the proper way to start go routines in a loop

according with https://github.com/golang/go/wiki/CommonMistakes
the proper way to start go routines in a loop is:

```
for val := range values {
	go func(val interface{}) {
		fmt.Println(val)
	}(val)
}
```

this patch fixes the main.loop method to avoid issues starting
go routines

fixes #389

Signed-off-by: Julio Montes <4a43a13347431ef00be7d745d08a5ba1757e840b@intel.com>

MarioCarrilloA/tests,clearcontainers/tests,sboeuf/tests,bwarden/tests,devimc/tests,clearcontainers/tests,chavafg/tests,chavafg/tests,sboeuf/tests,bwarden/tests,devimc/tests,MarioCarrilloA/tests