res.end = function(chunk, encoding) {
          if (server._txnStore.legacy == true) {
            server._txnStore.remove(options, req, req.oauth2.transactionID, function noop(){});
          } else {
            server._txnStore.remove(req, req.oauth2.transactionID, function noop(){});