added error catching for autoreconnect and option to autocommit after execution
added cache for column names before we close the cursor
making auto reconnect work