Fixed Database ResultSet crash on close
Better fix for database crash on ResultSet close
Merge pull request #160 from pec1985/timob-14206-3_1_X

backport to 3.1.x [TIMOB-14206] Fixed Database ResultSet crash on close