addendum to fix for issue #1

adding the connection close and file cleanup when the "table not found" exception is hit