code: public void releasePermits(ExecutionContext context, Result result) {
          releasePermits(context.permitCount(), result, context.startNanos(), clock.nanoTime());
      }
docs: Release acquired permits with known result. Since there is a known result the result
  count object and latency will be updated.
  
  @param context context of the task execution
  @param result  of the execution