Fix: race-condition on traded in task-chains.

3 jobs from master in 3 minutes 39 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #3656
build_cmake

00:52

 
  Test
passed #3657
run_tests

00:54

 
  Sanitizer
passed #3658
run_address_sanitizer

01:52