adds close for cleanup where sqlite3_open may have returned an error. Caught by @gidden