[JENKINS-25514] Fixed lock case in FutureImpl

when some other process is waiting for build in queue.

https://issues.jenkins-ci.org/browse/JENKINS-25514
Test procedute:
1. Start some build using CLI with '-s' option and make sure that this build will stay in queue for some time (offline/busy executor etc)
2. Cancel the build from queue
=>
Expected result: the build is canceled and CLI dropped connection
Result before the fix: the build is canceled and CLI is still waiting without dropping connection.

I am not sure I follow the logic here. Does it ever completes normally? IMO there should be only one possible outcome in case of item cancellation and it seems to be `CancellationException`.