Change condition for adding to source queues

- Stop source thread if max sim time is reached
- Don't put agents in sources, before the content of queues is generated
- in the _building
3 jobs for 158 in 6 minutes and 48 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Configure
passed #34625
linux
configure-linux

00:00:13

 
  Compile
failed #34626
linux
make-linux

00:06:34

 
  Unit Test
skipped #34627
linux
test
 
Name Stage Failure
failed
make-linux Compile
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:565: recipe for target 'CMakeFiles/core.dir/all' failed
make[1]: *** [CMakeFiles/core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
Running after script...
$ echo "End CI"
End CI
ERROR: Job failed: exit code 1