cancel all futures on ClosedByInterruptException
cancel all futures on ClosedByInterruptException

Summary:
The goal of this change is to make `ClosedByInterruptException` or wrapped `InterruptedException` to cancel
the rest of the futures so we don't have to go into the rest of them after one of them has been interrupted.

This does not change anything for the case of `keepGoing`.

Test Plan:
Manual testing using a debugger and checking what happens with the logs.
Plan:
- Make `ReflectiveRuleKeyFactory` throw a wrapped `ClosedByInterruptException` & `InterruptedException`.
- Check how `Build.java` behaves and make sure that `buildFuture.cancel(true);` gets called.
- Make sure that the exceptions continue to get propagated for other parts of Buck.

Reviewed By: Coneko

fbshipit-source-id: ef86b3f

brettwooldridge/buck,brettwooldridge/buck,shybovycha/buck,darkforestzero/buck,daedric/buck,vschs007/buck,JoelMarcey/buck,shybovycha/buck,LegNeato/buck,romanoid/buck,shs96c/buck,Addepar/buck,davido/buck,zhan-xiong/buck,SeleniumHQ/buck,nguyentruongtho/buck,ilya-klyuchnikov/buck,nguyentruongtho/buck,facebook/buck,zhan-xiong/buck,dsyang/buck,dsyang/buck,JoelMarcey/buck,marcinkwiatkowski/buck,davido/buck,ilya-klyuchnikov/buck,JoelMarcey/buck,romanoid/buck,shybovycha/buck,marcinkwiatkowski/buck,daedric/buck,dsyang/buck,clonetwin26/buck,darkforestzero/buck,shs96c/buck,marcinkwiatkowski/buck,daedric/buck,brettwooldridge/buck,robbertvanginkel/buck,davido/buck,nguyentruongtho/buck,romanoid/buck,dsyang/buck,daedric/buck,vschs007/buck,brettwooldridge/buck,zpao/buck,darkforestzero/buck,dsyang/buck,clonetwin26/buck,grumpyjames/buck,shs96c/buck,brettwooldridge/buck,ilya-klyuchnikov/buck,davido/buck,SeleniumHQ/buck,zpao/buck,clonetwin26/buck,JoelMarcey/buck,dsyang/buck,romanoid/buck,k21/buck,vschs007/buck,grumpyjames/buck,romanoid/buck,shs96c/buck,rmaz/buck,clonetwin26/buck,dsyang/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,k21/buck,grumpyjames/buck,clonetwin26/buck,daedric/buck,clonetwin26/buck,LegNeato/buck,zhan-xiong/buck,dsyang/buck,facebook/buck,romanoid/buck,ilya-klyuchnikov/buck,brettwooldridge/buck,vschs007/buck,zpao/buck,SeleniumHQ/buck,darkforestzero/buck,romanoid/buck,darkforestzero/buck,daedric/buck,shybovycha/buck,LegNeato/buck,romanoid/buck,dsyang/buck,zhan-xiong/buck,clonetwin26/buck,rmaz/buck,shs96c/buck,Addepar/buck,k21/buck,facebook/buck,clonetwin26/buck,daedric/buck,JoelMarcey/buck,Addepar/buck,dsyang/buck,zpao/buck,daedric/buck,k21/buck,vschs007/buck,robbertvanginkel/buck,davido/buck,dsyang/buck,grumpyjames/buck,shs96c/buck,vschs007/buck,rmaz/buck,dsyang/buck,shs96c/buck,k21/buck,marcinkwiatkowski/buck,SeleniumHQ/buck,LegNeato/buck,grumpyjames/buck,shybovycha/buck,brettwooldridge/buck,shybovycha/buck,nguyentruongtho/buck,shs96c/buck,shybovycha/buck,Addepar/buck,robbertvanginkel/buck,zhan-xiong/buck,zhan-xiong/buck,brettwooldridge/buck,romanoid/buck,Addepar/buck,Addepar/buck,marcinkwiatkowski/buck,JoelMarcey/buck,clonetwin26/buck,marcinkwiatkowski/buck,robbertvanginkel/buck,kageiit/buck,LegNeato/buck,facebook/buck,zhan-xiong/buck,zhan-xiong/buck,marcinkwiatkowski/buck,grumpyjames/buck,zpao/buck,vschs007/buck,SeleniumHQ/buck,shybovycha/buck,k21/buck,shs96c/buck,SeleniumHQ/buck,SeleniumHQ/buck,shs96c/buck,clonetwin26/buck,Addepar/buck,Addepar/buck,davido/buck,k21/buck,JoelMarcey/buck,SeleniumHQ/buck,brettwooldridge/buck,zpao/buck,kageiit/buck,darkforestzero/buck,davido/buck,LegNeato/buck,shs96c/buck,Addepar/buck,darkforestzero/buck,marcinkwiatkowski/buck,marcinkwiatkowski/buck,facebook/buck,LegNeato/buck,rmaz/buck,robbertvanginkel/buck,grumpyjames/buck,daedric/buck,clonetwin26/buck,ilya-klyuchnikov/buck,kageiit/buck,LegNeato/buck,darkforestzero/buck,zhan-xiong/buck,nguyentruongtho/buck,JoelMarcey/buck,k21/buck,robbertvanginkel/buck,davido/buck,marcinkwiatkowski/buck,shs96c/buck,JoelMarcey/buck,ilya-klyuchnikov/buck,rmaz/buck,robbertvanginkel/buck,vschs007/buck,rmaz/buck,nguyentruongtho/buck,SeleniumHQ/buck,grumpyjames/buck,ilya-klyuchnikov/buck,marcinkwiatkowski/buck,grumpyjames/buck,JoelMarcey/buck,ilya-klyuchnikov/buck,kageiit/buck,shybovycha/buck,brettwooldridge/buck,robbertvanginkel/buck,SeleniumHQ/buck,brettwooldridge/buck,JoelMarcey/buck,kageiit/buck,robbertvanginkel/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,romanoid/buck,darkforestzero/buck,k21/buck,facebook/buck,darkforestzero/buck,darkforestzero/buck,rmaz/buck,robbertvanginkel/buck,LegNeato/buck,robbertvanginkel/buck,rmaz/buck,davido/buck,k21/buck,LegNeato/buck,daedric/buck,romanoid/buck,darkforestzero/buck,davido/buck,shybovycha/buck,rmaz/buck,rmaz/buck,ilya-klyuchnikov/buck,shybovycha/buck,davido/buck,Addepar/buck,rmaz/buck,rmaz/buck,Addepar/buck,dsyang/buck,brettwooldridge/buck,kageiit/buck,grumpyjames/buck,LegNeato/buck,grumpyjames/buck,ilya-klyuchnikov/buck,daedric/buck,romanoid/buck,clonetwin26/buck,LegNeato/buck,kageiit/buck,shs96c/buck,JoelMarcey/buck,marcinkwiatkowski/buck,k21/buck,Addepar/buck,k21/buck,ilya-klyuchnikov/buck,Addepar/buck,LegNeato/buck,shybovycha/buck,SeleniumHQ/buck,vschs007/buck,shybovycha/buck,davido/buck,robbertvanginkel/buck,nguyentruongtho/buck,rmaz/buck,zhan-xiong/buck,JoelMarcey/buck,facebook/buck,romanoid/buck,darkforestzero/buck,vschs007/buck,zhan-xiong/buck,zhan-xiong/buck,grumpyjames/buck,vschs007/buck,daedric/buck,SeleniumHQ/buck,vschs007/buck,zpao/buck,robbertvanginkel/buck,clonetwin26/buck,k21/buck,marcinkwiatkowski/buck,davido/buck,vschs007/buck,daedric/buck,brettwooldridge/buck