Restrict back to back same location job

Thanks @jie31best

I have applied

RuinListener

with the help of this
And now it is working. It restricts solver to produce solution having same location job back to back.
But my purpose is not solved yet. I actually put a constraint that did not allow a vehicle to visit to a place unless he does 4 more jobs.

I want below solution for the example I have given like:

Start->Job1->Job4->Depot
Start->Job2->Job6->Depot
Start->Job3->Job5->Depot

Its basically the next stage. Can you suggest me anything for this?