Error checking and buffer release in GetMoreDiscardProtocol
Fixing test so that secondary lag doesn't make it fail occasionally