code: function release(requestorId, task) {
    if(!requestorId) {
      throw new TypeError('RequestorIdNotPresent');
    }
    if(!task) {
      throw new TypeError('TaskNotPresent');
    }
  
    var semaphore   = task.semaphore;
  
    // Task isn't locked, it's already released.
    if(!semaphore) {
      return task;
    }
  
    var key         = hashKey(requestorId, task.id);
  
    if(semaphore.key !== key) {
      throw new LockError('KeyInvalid');
    }
  
    task.semaphore  = null;
  
    return task;
  }
docs: Release the lock from the given task.
  -------------------------------------
  @param {string} requestorId
  @param {Task} task
  @return {Task}
  @throws {TypeError}
  @throws {LockError}
  @api {public}