_end = function(id, msg, result) {
        var q = queues[id], sc;
        if (q && q.onEnd) {
            sc = q.context || q;
            q.onEnd.call(sc, _returnData(q, msg, result));
        }
    }
The transaction is finished
@method _end
@param {string} id the id of the request.
@param {string} msg the result message.
@param {string} result the status message from the request.
@private