Riak support
Added better handling for cancelling last log. now clears the associated KV
error handling