Make TrackableJobFuture.setResult() more robust

By putting the ```latch.countDown();``` method in a finally block we ensure that the latch is correctly updated whatever happens inside the method