Enhancement for handling multiple results

This patch cleans up any additional results which may have been returned by a query (e.g. a stored procedure which does a 'SELECT' internally).

The issue was originally reported in #100.