Terminated result set processing for failed queries
Remove old testing code

This code existed to find a bug that existed many many revisions ago. It is no longer necessary and on top of that, makes no sense out of context.