BTW, these unclosed cursors are usually the cause of the "database in use" exception that I suffer when running the django test suite.