Change how processing the results is done so as not to trigger error 20019

Attempt to initiate a new SQL Server operation with results pending.
Added test to ensure a BACKUP query is not improperly terminated
Merge branch 'fix_no_result_query'