Made TrackableJobFuture.setResult more robust by putting latch.countDown() in a finally block