Avoid multiple build cancelations

The cancelJobs method can be called multiple times for an item
(but with prime=False).  It was possible for zuul to emit multiple
stop jobs in that case.  To avoid that, only cancel builds which
have not yet reported a result.

Change-Id: I1aec01396fcd317cfe8446c582abdc1e3a933410
1 file changed