NOJIRA Only send drop table request if connection is still in place.

Depending on the shutdown order that might not be the case.
NOJIRA Properly reset the result object to index 0 before exporting anything

Not doing that could cause incomplete exports in spreadsheet "editable"
view.