We're not using this branch, but we are using the cancel endpoint.  The cancel command returns a 204 No Content response, which results in Client.api_put to error out since it can't decode any JSON.