[TIMOB-14206] Fixed Database ResultSet crash on close