New pipeline does not cancel the old

If a new pipeline is started for a branch, the old one should be closed.