Reworked the launch loop to fix a bug in re-running already launched tests (not yet validated)