A method to cancel the offending SQL command during the try->finally would be great.
Crashing run-time during db.close() seems harsh as it requires no overlooked problems in the data or SQL methods, and figuring out when the problem happened during the program run (db.close often happens at program shutdown)
