bugfix early jobs trigger in pipelines
What seems to be a simple change, is incomplete and disturb later check on wait_pipeline_start()
method. When the pipeline is found in "running" state
and the jobs are triggered earlier, then the tool is blind to see the pipeline is already started because it is waiting for a state change more than the current state of it.