Make sure that DBCursors are closed. This was causing weird update loss ...

...after 10 minute cursor timeout