Close DB cursors properly and change release version to 11