def release(task, force = false)
      return unless task.claimed?
      raise UnauthorizedReleaseAttempt unless force || task.claimant == claim_token
      task.release
    end
def release(task, force = false)
      return unless task.claimed?
      raise UnauthorizedReleaseAttempt unless force || task.claimant == claim_token
      task.release
    end
If we are the current claimant of the given task, release the task. Does
 nothing if the task is not claimed, but raises exception if the task is
 currently claimed by someone else.